File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and Other Java EE Technologies and the fly likes java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder" Watch "java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder" New topic
Author

java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder

Paul Zak
Greenhorn

Joined: Apr 11, 2009
Posts: 10
Hey,

Im getting following error while trying invoke

Output from JBoss
[[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder

The probem is I have jdom1.0 on classpath, I guess.
Im using eclipse, project properties -> Java Build Path -> Libraries and there is jdom-1.0.jar. It means its on classpath right?

Any help would be appreciated.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32421
The build path is probably not what gets used at runtime; maybe there's a separate runtime path? Or are you running this outside of Eclipse (in which case whatever is set in Eclipse is not applicable anyway)?

Being a web app, the library should be in the WEB-INF/lib directory.

This message was edited 1 time. Last update was at by Ulf Dittmer



Android appsImageJ pluginsJava web charts
Paul Zak
Greenhorn

Joined: Apr 11, 2009
Posts: 10
Yes you're right. I solved the problem by copying jdom to lib directory.
Thanks
 
 
subject: java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder
 
MyEclipse, The Clear Choice