The most intelligent Java IDE
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » EJB and Other Java EE Technologies
 
RSS feed
 
New topic
Author

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

Paul Zak
Greenhorn

Joined: Apr 11, 2009
Messages: 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
Sheriff

Joined: Mar 22, 2005
Messages: 26723

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


Java web chartsImageJ PluginsSpecification URLsJava FAQs
Paul Zak
Greenhorn

Joined: Apr 11, 2009
Messages: 10

Yes you're right. I solved the problem by copying jdom to lib directory.
Thanks
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » EJB and Other Java EE Technologies
 
RSS feed
 
New topic
replay challenge