This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax/jdo/JdoHelper used with servlet

 
nitinnitin sharma
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
nisharma sharma
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic