hi,

I'm using the hibernate3:hbm2java goal to generate the java classes from the
hbm.xml files. Works fine. But as soon as I add the log4j dependency I get
the error below. Didn't that has been fixed in the 2.0 snapshot (MOJO-489)?
Did I miss something?

cheers,
Alex

[INFO] using annotationconfiguration task.
[INFO] Configuration XML file loaded:
C:\WORK\maven-test\model\src\main\resources\hibernate.cfg.xml
[INFO] Configuration XML file loaded:
C:\WORK\maven-test\model\src\main\resources\hibernate.cfg.xml
[INFO] src/main/resources/database.properties not found within the project.
Trying absolute path.
[INFO] No hibernate properties file loaded.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org/apache/log4j/Priority
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/apache/log4j/Priority
        at 
freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
        at freemarker.log.Logger.getLogger(Logger.java:255)
        at
freemarker.template.utility.SecurityUtilities.<clinit>(SecurityUtilities.java:67)
.....

-- 
View this message in context: 
http://www.nabble.com/hibernate3%3Ahbm2java-log4j-exception-tf3036420.html#a8438228
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to