[slf4j-user] blog entry on JCL

Matt Raible mraible at gmail.com
Mon Feb 5 19:46:14 CET 2007


Here's the error I get from the Hibernate 3 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)

I'll post a message to the mojo user list and see if they have a solution.

Matt

On 2/5/07, Ceki Gülcü <listid at qos.ch> wrote:
>
> Matt,
>
> Welcome to the slf4j user list.  I just came across your blog entry on
> commons logging [1].
> You write that <quote>I tried changing to <http://www.slf4j.org/>SLF4J, but
> that causes some Maven plugins to fail. </quote>
>
> Could you briefly mention how SLF4J fails for maven plugins? Even the
> shortest description might help.
>
> Many thanks in advance,
>
> [1] http://raibledesigns.com/page/rd?entry=maven_2_hates_commons_logging
>
>
>
> --
> Ceki Gülcü
> Logback: The reliable, generic, fast and flexible logging framework for Java.
> http://logback.qos.ch
>
> _______________________________________________
> user mailing list
> user at slf4j.org
> http://www.slf4j.org/mailman/listinfo/user
>


-- 
http://raibledesigns.com


More information about the slf4j-user mailing list