ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shannon, Bryan" <BShan...@Tribune.com>
Subject RE: java.lang.ExceptionInInitializerError
Date Thu, 20 Nov 2008 14:38:21 GMT
Looks like your classpath has an incompatible logging library (commons
logging).

-----Original Message-----
From: xavan [mailto:xavan18@hotmail.com] 
Sent: Tuesday, November 18, 2008 1:34 PM
To: user-java@ibatis.apache.org
Subject: java.lang.ExceptionInInitializerError


My application using iBatis is working and logging well until I change a
third party jar file.

Any idea of what can cause this error?

 

java.lang.ExceptionInInitializerError

            at
java.lang.J9VMInternals.initialize(J9VMInternals.java:216)

            at
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.<init>(SqlMapCon
figParser.java:55)

            at
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.<init>(SqlMapCon
figParser.java:42)

            at
com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapCli
entBuilder.java:62)

            ... 11 more

Caused by:

java.lang.RuntimeException: Error creating logger for class class
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.  Cause:
java.lang.ClassCastException:
com.ibatis.common.logging.jakarta.JakartaCommonsLoggingImpl incompatible
with com.ibatis.common.logging.Log

            at
com.ibatis.common.logging.LogFactory.getLog(LogFactory.java:33)

            at
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.<clinit>(SqlMapClientImpl
.java:41)

            at java.lang.J9VMInternals.initializeImpl(Native Method)

            at
java.lang.J9VMInternals.initialize(J9VMInternals.java:194)

            ... 20 more

Caused by:

java.lang.ClassCastException:
com.ibatis.common.logging.jakarta.JakartaCommonsLoggingImpl incompatible
with com.ibatis.common.logging.Log

            at
com.ibatis.common.logging.LogFactory.getLog(LogFactory.java:31)

            ... 23 more

--
View this message in context:
http://www.nabble.com/java.lang.ExceptionInInitializerError-tp20565572p2
0565572.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message