![]() |
![]() |
|
| Index | Recent Threads | Unanswered Threads | Who's Online | User List | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 5
|
|
| Author |
|
|
Newbie Joined: Jun 25, 2009 Post Count: 3 Status: Offline |
After struggling for several days, I arrived here...desperately org.datanucleus.exceptions.ClassNotResolvedException: Class "org.hsqldb.jdbcDriver" was not found in the CLASSPATH I tried datanucleus 1.1.2, 1.1.3, 1.1.4, all the same. the code snippet is pretty much the same to what has suggested in the forum. The exception is very familiar: Caused by: org.datanucleus.exceptions.ClassNotResolvedException: Class "org.hsqldb.jdbcDriver" was not found in the CLASSPATH. Please check your specification and your CLASSPATH. at org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:250) at org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:415) at org.datanucleus.store.rdbms.datasource.DriverManagerDataSource.<init>(DriverManagerDataSource.java:87) ... 53 more Can anybody please cast me some light? Many thanks in advance! |
||
|
|
Expert Joined: Nov 16, 2005 Post Count: 804 Status: Offline |
After struggling for several days, I arrived here...desperately org.datanucleus.exceptions.ClassNotResolvedException: Class "org.hsqldb.jdbcDriver" was not found in the CLASSPATH I tried datanucleus 1.1.2, 1.1.3, 1.1.4, all the same. the code snippet is pretty much the same to what has suggested in the forum. The exception is very familiar: Caused by: org.datanucleus.exceptions.ClassNotResolvedException: Class "org.hsqldb.jdbcDriver" was not found in the CLASSPATH. Please check your specification and your CLASSPATH. at org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:250) at org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:415) at org.datanucleus.store.rdbms.datasource.DriverManagerDataSource.<init>(DriverManagerDataSource.java:87) ... 53 more Can anybody please cast me some light? Many thanks in advance! Hope that red light fades the shade. Guido ---------------------------------------- Guido Anzuoni http://www.objectmagic.org |
||
|
|
Newbie Joined: Jun 25, 2009 Post Count: 3 Status: Offline |
Hi, Guido thanks! but the class was there... Another thread has the same problem, but the solution is not so clear. http://www.jpox.org/servlet/forum/viewthread_thread,5616 Any other suggestions? Many thanks! Best Fey |
||
|
|
Expert Joined: Nov 16, 2005 Post Count: 804 Status: Offline |
Hi, Guido thanks! but the class was there... This is what you say and what you can see. As you can imagine, we have no access to your desktop to check by ourselves, so the only thing we can say is the above. Another thread has the same problem, but the solution is not so clear. http://www.jpox.org/servlet/forum/viewthread_thread,5616 Any other suggestions? Many thanks! Best Fey Guido ---------------------------------------- Guido Anzuoni http://www.objectmagic.org ---------------------------------------- [Edit 1 times, last edit by ganzuoni at Jun 26, 2009 4:10:14 PM] |
||
|
|
Newbie Joined: Jun 25, 2009 Post Count: 3 Status: Offline |
Hi, I followed this article. http://www.jpox.org/servlet/wiki/pages/viewpage.action?pageId=1179712 it solved the same problem by adding 2 classloaders for jdbc driver and persistencemanagementfactory respectively. but this didn't work for me... Bundle-ClassPath: ... lib\hsqldb.jar, which is in the right path. and deployed other datanucleus bundles in plugins Require-Bundle: org.eclipse.osgi.services;bundle-version="3.1.200", org.eclipse.core.runtime;bundle-version="3.4.0", org.datanucleus;bundle-version="1.1.4", org.datanucleus.enhancer;bundle-version="1.1.4", org.datanucleus.store.rdbms;bundle-version="1.1.4" Thanks again! best, fey |
||
|
|
|
|
|
Current timezone is GMT Mar 16, 2010 5:21:38 PM |