Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Classpath problems with classes and servlets in Tomcat

843842Mar 3 2008 — edited Mar 4 2008
Hello,

I use Eclipse (WTP) to write to write a web application that will run on Apache Tomcat.
When I place my servlets and other classes in the default package (or basically leave them unpackaged), then everything works, however when I attempt to divide the classes and servlets into packages I get ClassNotFoundException error in Tomcat.

How do I enter my packaged classes into the Tomcat classpath?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2008
Added on Mar 3 2008
5 comments
301 views