wood burning stoves 2.0
The moose likes Servlets and the fly likes javax/jdo/JdoHelper used with servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "javax/jdo/JdoHelper used with servlet" Watch "javax/jdo/JdoHelper used with servlet" New topic

javax/jdo/JdoHelper used with servlet

nitinnitin sharma

Joined: Sep 19, 2003
Posts: 3
hi everybody..
JdoHelper.getPersistenceManagerFactory(Property props)
this method is perfectly working in a application but when I used it with a servlet , an exception is thrown saying --NoClassDefFoundError :javax/jdo/JdoHelper

Thank you very much...
Eelco den Heijer
Ranch Hand

Joined: Jan 17, 2002
Posts: 61
Hi, probably you have to add the jdo.jar to the classpath of the servlet container, or add the jdo.jar in WEB-INF/lib of your web app.

== <br />Rgrds,<br />Eelco<br /> <br />SCJP, SCJD, SCBCD, SCWD, SCEA
nisharma sharma

Joined: Aug 05, 2003
Posts: 4
Thank you very much for this help.
Now I think its accessing the JDOHelper but giving a new exception---
javax.do.JdoFatalUserException:Invalid driver class oracle.jdbc.driver.OracleDriver: Java.lang.classNotFoundException: oracle.jdbc.driver.OracleDriver---
I used the same code in different application and its working fine there.
I have put classes12.zip in the lib folder.
more help please?
I agree. Here's the link: http://aspose.com/file-tools
subject: javax/jdo/JdoHelper used with servlet
It's not a secret anymore!