Hello Alex Can you try to updated your snapshot with mvn -U ??
Regards Johann Reyes -----Original Message----- From: Alexander Josef [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 3:22 PM To: user@mojo.codehaus.org Subject: [mojo-user] hibernate3:hbm2java log4j exception 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.jav a:67) ..... -- View this message in context: http://www.nabble.com/hibernate3%3Ahbm2java-log4j-exception-tf3036420.html#a 8438228 Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email