NoClassDefFoundError: oracle/toplink/sessions/UnitOfWork
--------------------------------------------------------
Key: IBATIS-219
URL: http://issues.apache.org/jira/browse/IBATIS-219
Project: iBatis for Java
Type: Bug
Components: DAO
Versions: 2.1.6
Environment: Eclipse 3.1.1, JSDK 1.4.2_07, WinXPSP2 with newest patches
Reporter: Peter Köhler
Priority: Blocker
When upgrading from 2.1.5 to 2.1.6 i get the following error:
java.lang.NoClassDefFoundError: oracle/toplink/sessions/UnitOfWork
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.class$(XmlDaoManagerBuilder.java:69)
at
com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.<init>(XmlDaoManagerBuilder.java:75)
at
com.ibatis.dao.client.DaoManagerBuilder.buildDaoManager(DaoManagerBuilder.java:49)
at
com.awaro.app.fox.common.FoxInitializer.initDaoManager(FoxInitializer.java:120)
at
com.awaro.app.fox.common.FoxInitializer.initializeAndCheck(FoxInitializer.java:58)
at
com.awaro.app.fox.test.SqlMapConfigTest.setUp(SqlMapConfigTest.java:60)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
This happens while the statement
"typeAliases.put("TOPLINK", ToplinkDaoTransactionManager.class.getName());"
is executed.
Maybe the classloader tries to resolve some class dependencies?
Greetings from Frankfurt
Peter Köhler
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira