Hi all,
I'm encountering the following exception in my Grails 6.2.1 application ,Java version: 17 :
java.lang.IllegalStateException: Either class [demo.Demo] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity.
I believe GORM might not be initialized properly, but I'm unsure how to resolve this issue. Has anyone faced a similar problem or have any ideas on how to fix this?.