I'm trying to replace commons-logging with slf4j in AppFuse. If I
exclude it from my Spring dependency and add slf4j as a dependency - I
get the following error from the hibernate3 plugin:
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/slf4j/LoggerFactory
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at
org.apache.commons.logging.impl.SLF4FLogFactory.getInstance(SLF4FLogFactory.java:154)
at
org.apache.commons.logging.impl.SLF4FLogFactory.getInstance(SLF4FLogFactory.java:130)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:120)
at
org.codehaus.mojo.hibernate3.configuration.AnnotationComponentConfiguration.createConfiguration(AnnotationComponentConfiguration.java:41)
at
org.codehaus.mojo.hibernate3.configuration.AbstractComponentConfiguration.getConfiguration(AbstractComponentConfiguration.java:32)
at
org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:87)
at
org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:139)
Any idea how to fix this?
Thanks,
Matt
--
http://raibledesigns.com
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email