What I did so far:
Enabled annotation processingin idea's preferences and selectedObtain processors from project classpath, then selectedModule content root- Added
compileOnly group: 'org.hibernate', name: 'hibernate-jpamodelgen', version: '5.6.0.Final'dependency tobuild.gradle - Built the project
I can see the route build/generated/sources/annotationProcessors/main where main is a generated source route but it's empty and no metamodel classes there.
I can find these simple steps everywhere but unable to create metamodel classes.
What am I missing or doing wrong?
CodePudding user response:
I managed to fix the issue with the following additional dependency: annotationProcessor group: 'org.hibernate', name: 'hibernate-jpamodelgen', version: '5.6.0.Final'
Just for future reference.
