Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Paul Zak
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Zak
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you're right. I solved the problem by copying jdom to lib directory.
Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!