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

libraries not found!

 
Simon Joseph Aquilina
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


I have developed a simple web application using spring with tiles. I have deployed the application on tomcat (5.5.17) however it gives me a HTTP Status 500! The exception seem to be related with a class not found:



However this library and class can be found in my War file under the WEB-INF folder.

Now I remember I had such a problem with JBoss as well, because JBoss was searching that library in the shared folder rather then the War File itself. Back then I just added jboss-web.xml with the following xml so that it loaded all required libraries from the WAR file and only load unfound libraries from the shared folder.



My question is; do I need to do something the same for Tomcat as well. Since the library he is complaining about can be found in the WAR file already!

Thanks and Regards,
Sim085
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where, exactly, did you put the libraries/class files?
 
Simon Joseph Aquilina
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My libraries can all be found in my War file. The War file name is myapp.war, and he libraries can be found in it like this:

myapp.war/WEB-INF/lib/<my other jar files>

Regards,
Sim085
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic