IntelliJ Java IDE
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: 32768
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.


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
 
Threads others viewed
How to transform an XML document to Java objects
Problem Parsing XML file with JDOM.
[JDOM] retrieve current linenr for error
Parse file exception
Parsing XML file using Xpath in jdk1.4
developer file tools