[slf4j-user] SLF4J - Logger Adapter Excepction
Jacob Kjome
hoju at visi.com
Tue Sep 16 02:18:50 CEST 2008
Upgrade to SLF4J 1.5.3, which was just released and addresses this issue.
Jake
Songezo Nkukwana wrote:
> 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.java:39)
>
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
>
> [java] at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>
> [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(DefaultExecutor.java:41)
>
> [java] at
> org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
>
> [java] at
> org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>
> [java] at
> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
>
> [java] at
> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
>
> [java] Caused by: java.lang.AbstractMethodError:
> org.slf4j.impl.JCLLoggerAdapter.isTraceEnabled()Z
>
> [java] at
> org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.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:1325)
>
> [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.java:39)
>
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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(DriverManagerConnectionProvider.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:1325)
>
> [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.java:39)
>
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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.java:39)
>
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
>
> [java] at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>
> [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(DefaultExecutor.java:41)
>
> [java] at
> org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
>
> [java] at
> org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>
> [java] at
> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
>
> [java] at
> org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.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
>
>
> ------------------------------------------------------------------------
>
> <!-- p {margin-right:0cm; margin-left:0cm; font-size:12.0pt;
> font-family:"Times New Roman"} div.Section1 {page:Section1;} p.MsoNormal
> {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times
> New Roman";} -->
>
> ------------------------------------------------------------------------
> State Information Technology Agency (Proprietary) Limited • Reg No
> 1999/001899/07,
> 459 Tsitsa Street, Erasmuskloof, Pretoria, South Africa • PO Box 26100,
> Monument Park, 0105, South Africa
> Tel: +27 12 482 3000 • Fax +27 12 482 2100 • www.sita.co.za
> <http://www.sita.co.za/>
> ------------------------------------------------------------------------
> *Directors* : Ms Z P Manase (Chairperson), Ms M O Williams (Deputy
> Chairperson), Ms C B Clark, Ms N Dhevcharran, Mr C C W Kruger, Mr M A
> Luthuli, Ms M Makhekhe-Mokhuane, Ms N Molope, Mr G Rothschild, Ms R
> Sekese, Ms A van der Merwe Company Secretary: Ms E Strydom *
> ------------------------------------------------------------------------
> * *E-mail Disclaimer:* This email and any attachments thereto may
> contain confidential and proprietary information and is intended for the
> recipient only. If you are not the intended recipient, kindly delete the
> entire communication and notify the sender thereof immediately as the
> information contained in this communication is protected by law and may
> be privileged. You are further reminded that copying, distribution or
> disclosure of the contents of this email may be unlawful and result in
> legal action against you, in the case of you not being the intended
> recipient. As information sent by email is corruptible, SITA does not
> accept responsibility for such corruption, destruction, loss or
> interference of whatsoever kind and howsoever caused.**
>
> ****** **
>
> ** **
>
> ** **
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> user mailing list
> user at slf4j.org
> http://www.slf4j.org/mailman/listinfo/user
More information about the slf4j-user
mailing list