Hi!
I'm a newbie with Maven and I'm having trouble with the hibernate3 plugin.
When I try to generate *.hbm.xml files from *.java files with mvn hibernate3:hbm2hbmxml I get an error.
[EMAIL PROTECTED]
:~/F/Projectes/Prova$ mvn hibernate3:hbm2hbmxml
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'hibernate3'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Quick Start Archetype
[INFO] task-segment: [hibernate3:hbm2hbmxml]
[INFO] ----------------------------------------------------------------------------
[INFO] Preparing hibernate3:hbm2hbmxml
[INFO] No goals needed for project - skipping
[INFO] [hibernate3:hbm2hbmxml]
[INFO] No output directory found for hbm2hbmxml, using the default: target/hibernate3/generated-mappings
log4j:WARN No appenders could be found for logger (
org.hibernate.cfg.annotations.Version).
log4j:WARN Please initialize the log4j system properly.
[INFO] Configuration XML file loaded: /home/jordi/F/Projectes/Prova/src/main/resources/hibernate.cfg.xml
[INFO] No hibernate properties file loaded: None specified.
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/hibernate/engine/query/sql/NativeSQLQueryReturn
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/hibernate/engine/query/sql/NativeSQLQueryReturn
at java.lang.Class.getDeclaredMethods0
(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
at java.lang.Class.privateGetPublicMethods(Class.java:2519)
at java.lang.Class.getMethods(Class.java:1406)
Could someone please point me in the right direction.
- [mojo-user] hibernate3:hbm2hbmxml problems Jordi Monné
- Re: [mojo-user] hibernate3:hbm2hbmxml problems Darren Salomons
- Re: [mojo-user] hibernate3:hbm2hbmxml problems Jordi Monné
- Re: [mojo-user] hibernate3:hbm2hbmxml problems agroebbe
- [mojo-user] Hibernate3-maven-plugin correct web s... Srepfler Srgjan
- RE: [mojo-user] Hibernate3-maven-plugin corre... Johann Reyes
- Re: [mojo-user] Hibernate3-maven-plugin c... Matt Raible
- RE: [mojo-user] Hibernate3-maven-plu... Johann Reyes
- Re: [mojo-user] Hibernate3-maven-plu... BoJo
- Re: [mojo-user] Hibernate3-maven... Matt Raible
- Re: [mojo-user] Hibernate3-m... Matt Raible
