Annotation processor 'org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor' not found
rafaelcba Oct 31, 2012 12:52 PMI am trying to generate the basic Scaffolding sample as described in [1], but I'm stuck in the build step.
When I try to build the project I get the this error:
"[INFO] diagnostic error: Annotation processor 'org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor' not found
[INFO] diagnostic warning: Annotation processing without compilation requested but no processors were found.
[ERROR] error on execute: error during compilation"
I'm using the last build of Forge and Maven 3.0.3.
The entire build output is:
{noformat}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building my3rdForgeApp 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-processor-plugin:2.1.0-beta1:process (process) @ my3rdForgeApp ---
[INFO] Source directory: /Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/target/generated-sources/apt added
[INFO] javac option: -cp
[INFO] javac option: /Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/src/main/resources:/Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/target/classes:/Users/rafaeltuelho/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/ejb/jboss-ejb-api_3.1_spec/1.0.2.Final/jboss-ejb-api_3.1_spec-1.0.2.Final.jar:/Users/rafaeltuelho/.m2/repository/javax/enterprise/cdi-api/1.0-SP4/cdi-api-1.0-SP4.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/interceptor/jboss-interceptors-api_1.1_spec/1.0.1.Final/jboss-interceptors-api_1.1_spec-1.0.1.Final.jar:/Users/rafaeltuelho/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/1.0.1.Final/jboss-annotations-api_1.1_spec-1.0.1.Final.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/servlet/jboss-servlet-api_3.0_spec/1.0.1.Final/jboss-servlet-api_3.0_spec-1.0.1.Final.jar:/Users/rafaeltuelho/.m2/repository/org/jboss/spec/javax/faces/jboss-jsf-api_2.1_spec/2.0.2.Final/jboss-jsf-api_2.1_spec-2.0.2.Final.jar:
[INFO] javac option: -proc:only
[INFO] javac option: -processor
[INFO] javac option: org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor
[INFO] javac option: -d
[INFO] javac option: /Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/target/classes
[INFO] javac option: -s
[INFO] javac option: /Users/rafaeltuelho/projects/forge-projects/my3rdForgeApp/target/generated-sources/apt
[INFO] diagnostic error: Annotation processor 'org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor' not found
[INFO] diagnostic warning: Annotation processing without compilation requested but no processors were found.
[ERROR] error on execute: error during compilation
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.723s
[INFO] Finished at: Wed Oct 31 14:44:26 BRST 2012
[INFO] Final Memory: 9M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.bsc.maven:maven-processor-plugin:2.1.0-beta1:process (process) on project my3rdForgeApp: Error executing: error during compilation -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
***ERROR*** Exception encountered: Build failed. (type "set VERBOSE true" to enable stack traces)
{noformat}
What can be wrong?
[1] https://docs.jboss.org/author/display/FORGE/Generating+a+basic+Java+EE+web-application