Wednesday, 15 August 2012

jhipster - Getting started compilation error "org.hibernate.annotations does not exist" -



jhipster - Getting started compilation error "org.hibernate.annotations does not exist" -

i created app , worked ok begin with. generated entity , restarted , i'm getting error. suggestions?

i'm wondering differences between starting methods:

mvn spring-boot:run

grunt server

i compilation error former , starts won't allow me authenticate latter. i'm not using ide. i'm running iterm.

[info] scanning projects... [info] [info] using builder org.apache.maven.lifecycle.internal.builder.singlethreaded.singlethreadedbuilder thread count of 1 [info] [info] ------------------------------------------------------------------------ [info] building jhipster 0.1-snapshot [info] ------------------------------------------------------------------------ [info] [info] >>> spring-boot-maven-plugin:1.0.2.release:run (default-cli) @ jhipster >>> [info] [info] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ jhipster --- [info] [info] --- maven-resources-plugin:2.6:resources (default-resources) @ jhipster --- [info] using 'utf-8' encoding re-create filtered resources. [info] copying 22 resources [info] [info] --- maven-dependency-plugin:2.8:copy (copy) @ jhipster --- [info] configured artifact: io.github.jhipster.loaded:agent:0.8:jar [info] copying agent-0.8.jar /users/dan/work/jhipster-mongo/spring_loaded/springloaded-jhipster.jar [info] [info] --- maven-compiler-plugin:3.1:compile (default-compile) @ jhipster --- [info] changes detected - recompiling module! [info] compiling 80 source files /users/dan/work/jhipster-mongo/target/classes [info] ------------------------------------------------------------- [error] compilation error : [info] ------------------------------------------------------------- [error] /users/dan/work/jhipster-mongo/src/main/java/com/dancancro/picker/domain/decision.java:[7,33] bundle org.hibernate.annotations not exist [error] /users/dan/work/jhipster-mongo/src/main/java/com/dancancro/picker/domain/decision.java:[8,33] bundle org.hibernate.annotations not exist [info] 2 errors [info] ------------------------------------------------------------- [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 3.603 s [info] finished at: 2014-06-19t19:03:32+01:00 [info] final memory: 28m/135m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project jhipster: compilation failure: compilation failure: [error] /users/dan/work/jhipster-mongo/src/main/java/com/dancancro/picker/domain/decision.java:[7,33] bundle org.hibernate.annotations not exist [error] /users/dan/work/jhipster-mongo/src/main/java/com/dancancro/picker/domain/decision.java:[8,33] bundle org.hibernate.annotations not exist [error] -> [help 1] [error] [error] see total stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable total debug logging. [error] [error] more info errors , possible solutions, please read next articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojofailureexception

this error mongodb (which using hibernate annotations, not hibernate - not simple utilize case!). corrected.

jhipster

No comments:

Post a Comment