Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where do i have to put my beans in Tomcat?

 
maher dabbas
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I'm using Tomcat 4.0.1 , and i developed a web application with
some jsp's and beans. the problem is , when i put the beans in
myapplication/web-inf/classes, tomcat is not seeing them, and an
error message,noClassDefFound appears.
But when i put my beans in CATALINE_HOME/classes, it works.
Any suggestion?
Regards.
Maher.
 
James Hobson
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One sugestion is that web-inf should be WEB-INF
 
Rohit Ahuja
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
webapps/web-inf/packagename/classname.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic