File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "javax/jdo/JdoHelper used with servlet" Watch "javax/jdo/JdoHelper used with servlet" New topic
Author

javax/jdo/JdoHelper used with servlet

nitinnitin sharma
Greenhorn

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
Greenhorn

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?
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax/jdo/JdoHelper used with servlet
 
Similar Threads
JDO vs. TopLink
resources location in developement environment?
EJB overuse
Eclipse and JDO
can't find classes in my webapps lib directory