I switched to a new PC where I had to completely set up a new developement environment. I use hibernate tools with Eclipse to generate the object relational model. I wanted to generate the JPA 2 metamodel in Maven using the following guide: https://docs.jboss.org/hibernate/orm/5.0/topical/html/metamodelgen/MetamodelGenerator.html
I followed this guide to the book both in Eclipse AND IntelliJ idea. The metamodel simply does not get generated. No errors. Build succesfull. The target/generated-scources folder remains empty. What I am missing?
I tried ALL the configuration you can find on stackoverflow of the maven pom file but with no success. I digged in the archive and imported the last working iteration of the project, manually deleted the generated sources and tried regenerating the metamodel. Again, no metamodel was generated.
The things that changed in my setup from the last working project:
I am at a loss now. I spent four hours trying stuff out. Any ideas how to proceeed?
I solved it but I do not know what exactly solved it. This is what I did:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.