I followed your advice but I am still getting the same error message.
I am pretty sure I register the class correctly (I paste part of my logs and the code that registers classes is the following one).
ObjectifyService.register(clazz);
log.info("Registering Objectify
@Entity or @Subclas class: {}", clazz.getName());
2022-01-07 12:07:24.487 INFO [,,,] 14376 --- [ restartedMain] com.foobar.server.config.ObjectifyConfig : Registering Objectify @Entity or @Subclass class: com.foobar.server.model.MyEnum
I tried to even call it like
ObjectifyService.register(MyEnum.class); in order to be 100% sure that there is ain't a problem with the way I scan for classes with @Entity or @Subclass but still no luck.
Am I missing anything else ? Is there a chance the problem is related to the fact that I have an interface ? The documentation you posted (I have read this chapter) shows an example with "regular" classes and not with interfaces.
Thank you for your time in advance!!!
Στις Παρασκευή 7 Ιανουαρίου 2022 στις 10:08:25 π.μ. UTC+2, ο χρήστης Veronika Priesner έγραψε: