This content has been marked as final.
Show 2 replies
-
1. Re: Command : jpa-generate-entities-from-tables Exception : Exception when parsing/running: jpa-generate-entities-from-tables, No Facet of type [interface org.jboss.forge.addon.parser.java.facets.JavaSourceFacet] is installed.
gastaldi Jul 17, 2015 9:56 AM (in response to igloof)Hi florian,that means that your project does not have a src/main/java. Try to create a new project before running this command. Here is an example:
-
2. Re: Command : jpa-generate-entities-from-tables Exception : Exception when parsing/running: jpa-generate-entities-from-tables, No Facet of type [interface org.jboss.forge.addon.parser.java.facets.JavaSourceFacet] is installed.
igloof Jul 17, 2015 10:30 AM (in response to gastaldi)My project have a src/main/java
and i try :
[test]$ project-new --named example
***SUCCESS*** Project named 'example' has been created.
[example]$ jpa-generate-daos-from-entities --connectionProfile myProfile --databaseTables *;
Exception when parsing/running: jpa-generate-daos-from-entities --connectionProfile myProfile --databaseTables *, No Facet of type [interface org.jboss.forge.addon.javaee.jpa.JPAFacet] is installed.