[slf4j-user] SLF4J - Logger Adapter Excepction

Songezo Nkukwana Songezo.Nkukwana at sita.co.za
Mon Sep 15 13:30:49 CEST 2008


Hi all, new to this list as well to Hibernate/Middlegen/XDolect tools..

I look forward to your help here... Following is my exception



 



 



Buildfile: C:\Java Projetcs\Hirbernate\Projects\Users\build.xml



init:



compile:



    [javac] Compiling 5 source files to C:\Java

Projetcs\Hirbernate\Projects\Users\build



    [javac] Note: Some input files use unchecked or unsafe operations.



    [javac] Note: Recompile with -Xlint:unchecked for details.



jar:



      [jar] Building jar: C:\Java

Projetcs\Hirbernate\Projects\Users\jars\app.jar



run:



     [java] [INFO] Environment - Hibernate 3.3.0.SP1



     [java] [INFO] Environment - hibernate.properties not found



     [java] [INFO] Environment - Bytecode provider name : javassist



     [java] [INFO] Environment - using JDK 1.4 java.sql.Timestamp

handling



     [java] [INFO] Configuration - configuring from resource:

/hibernate.cfg.xml



     [java] [INFO] Configuration - Configuration resource:

/hibernate.cfg.xml



     [java] [DEBUG] DTDEntityResolver - trying to resolve system-id

[http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd]



     [java] [DEBUG] DTDEntityResolver - recognized hibernate namespace;

attempting to resolve on classpath under org/hibernate/



     [java] [DEBUG] DTDEntityResolver - located

[http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in

classpath



     [java] [DEBUG] Configuration -

myeclipse.connection.profile=oracle.jdbc.driver.OracleDriver



     [java] [DEBUG] Configuration -

connection.url=jdbc:oracle:thin:@10.121.48.21:1521:goofy



     [java] [DEBUG] Configuration - connection.username=KTR



     [java] [DEBUG] Configuration - connection.password=ktr



     [java] [DEBUG] Configuration -

connection.driver_class=oracle.jdbc.driver.OracleDriver



     [java] [DEBUG] Configuration -

dialect=org.hibernate.dialect.Oracle9Dialect



     [java] [DEBUG] Configuration - connection.autocommit=true



     [java] [DEBUG] Configuration -

dialect=org.hibernate.dialect.Oracle9Dialect



     [java] [DEBUG] Configuration - max_fetch_depth=1



     [java] [INFO] Configuration - Configured SessionFactory: null



 



.....



 



     [java] [DEBUG] Configuration - Preparing to build session factory

with filters : {}



     [java] [DEBUG] Configuration - processing extends queue



     [java] [DEBUG] Configuration - processing collection mappings



     [java] [DEBUG] Configuration - processing native query and

ResultSetMapping mappings



     [java] [DEBUG] Configuration - processing association property

references



     [java] [DEBUG] Configuration - processing foreign key constraints



     [java] [INFO] DriverManagerConnectionProvider - Using Hibernate

built-in connection pool (not for production use!)



     [java] [INFO] DriverManagerConnectionProvider - Hibernate

connection pool size: 20



     [java] [INFO] DriverManagerConnectionProvider - autocommit mode:

true



     [java] [INFO] DriverManagerConnectionProvider - using driver:

oracle.jdbc.driver.OracleDriver at URL:

jdbc:oracle:thin:@10.121.48.21:1521:goofy



     [java] [INFO] DriverManagerConnectionProvider - connection

properties: {user=KTR, password=ktr, autocommit=true}



 



     [java] java.lang.AbstractMethodError:

org.slf4j.impl.JCLLoggerAdapter.isTraceEnabled()Z



     [java]            at

org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)



     [java]            at

org.apache.tools.ant.taskdefs.Java.run(Java.java:747)



     [java]            at

org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:201)



     [java]            at

org.apache.tools.ant.taskdefs.Java.execute(Java.java:104)



     [java]            at

org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)



     [java]            at

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



     [java]            at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav

a:39)



     [java]            at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor

Impl.java:25)



     [java]            at

java.lang.reflect.Method.invoke(Method.java:585)



     [java]            at

org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:1

05)



     [java]            at

org.apache.tools.ant.Task.perform(Task.java:348)



     [java]            at

org.apache.tools.ant.Target.execute(Target.java:357)



     [java]            at

org.apache.tools.ant.Target.performTasks(Target.java:385)



     [java]            at

org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)



     [java]            at

org.apache.tools.ant.Project.executeTarget(Project.java:1298)



     [java]            at

org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut

or.java:41)



     [java]            at

org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTar

gets(EclipseDefaultExecutor.java:32)



     [java]            at

org.apache.tools.ant.Project.executeTargets(Project.java:1181)



     [java]            at

org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAnt

Runner.java:423)



     [java]            at

org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAn

tRunner.java:137)



     [java] Caused by: java.lang.AbstractMethodError:

org.slf4j.impl.JCLLoggerAdapter.isTraceEnabled()Z



     [java]            at

org.hibernate.connection.DriverManagerConnectionProvider.getConnection(D

riverManagerConnectionProvider.java:116)



     [java]            at

org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111

)



     [java]            at

org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)



     [java]            at

org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1

325)



     [java]            at

com.genuitec.hibernate.UserSessionFactory.<clinit>(Unknown Source)



     [java]            at

com.genuitec.hibernate.client.TestClient.main(Unknown Source)



     [java]            at

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



     [java]            at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav

a:39)



     [java]            at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor

Impl.java:25)



     [java]            at

java.lang.reflect.Method.invoke(Method.java:585)



     [java]            at

org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)



     [java]            at

org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)



     [java]            ... 19 more



     [java] --- Nested Exception ---



     [java] java.lang.AbstractMethodError:

org.slf4j.impl.JCLLoggerAdapter.isTraceEnabled()Z



     [java]            at

org.hibernate.connection.DriverManagerConnectionProvider.getConnection(D

riverManagerConnectionProvider.java:116)



     [java]            at

org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111

)



     [java]            at

org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)



     [java]            at

org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1

325)



     [java]            at

com.genuitec.hibernate.UserSessionFactory.<clinit>(Unknown Source)



     [java]            at

com.genuitec.hibernate.client.TestClient.main(Unknown Source)



     [java]            at

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



     [java]            at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav

a:39)



     [java]            at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor

Impl.java:25)



     [java]            at

java.lang.reflect.Method.invoke(Method.java:585)



     [java]            at

org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)



     [java]            at

org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)



     [java]            at

org.apache.tools.ant.taskdefs.Java.run(Java.java:747)



     [java]            at

org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:201)



     [java]            at

org.apache.tools.ant.taskdefs.Java.execute(Java.java:104)



     [java]            at

org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)



     [java]            at

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



     [java]            at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav

a:39)



     [java]            at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor

Impl.java:25)



     [java]            at

java.lang.reflect.Method.invoke(Method.java:585)



     [java]            at

org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:1

05)



     [java]            at

org.apache.tools.ant.Task.perform(Task.java:348)



     [java]            at

org.apache.tools.ant.Target.execute(Target.java:357)



     [java]            at

org.apache.tools.ant.Target.performTasks(Target.java:385)



     [java]            at

org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)



     [java]            at

org.apache.tools.ant.Project.executeTarget(Project.java:1298)



     [java]            at

org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut

or.java:41)



     [java]            at

org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTar

gets(EclipseDefaultExecutor.java:32)



     [java]            at

org.apache.tools.ant.Project.executeTargets(Project.java:1181)



     [java]            at

org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAnt

Runner.java:423)



     [java]            at

org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAn

tRunner.java:137)



[INFO] DriverManagerConnectionProvider - cleaning up connection pool:

jdbc:oracle:thin:@10.121.48.21:1521:goofy



init:



compile:



jar:



init:



compile:



clean:



   [delete] Deleting directory C:\Java

Projetcs\Hirbernate\Projects\Users\build



   [delete] Deleting directory C:\Java

Projetcs\Hirbernate\Projects\Users\jars



   [delete] Deleting directory C:\Java

Projetcs\Hirbernate\Projects\Users\XDoclect Descriptors



   [delete] Deleting directory C:\Java

Projetcs\Hirbernate\Projects\Users\${generated.source}



init:



    [mkdir] Created dir: C:\Java

Projetcs\Hirbernate\Projects\Users\build



    [mkdir] Created dir: C:\Java Projetcs\Hirbernate\Projects\Users\jars



    [mkdir] Created dir: C:\Java

Projetcs\Hirbernate\Projects\Users\XDoclect Descriptors



    [mkdir] Created dir: C:\Java

Projetcs\Hirbernate\Projects\Users\${generated.source}



BUILD SUCCESSFUL



Total time: 4 seconds





.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20080915/659c2cd1/attachment.htm>
-------------- next part --------------
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20080915/659c2cd1/attachment-0001.htm>


More information about the slf4j-user mailing list