A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Tomcat NoClassDefFoundError + LifecycleException
Joined: Oct 12, 2004
Oct 13, 2004 02:46:00
I am trying to hot deploy to Borland Enterprise Server so I have turned on the per_module class loading policy for the server to allow this. However I get two exceptions:
2.LifecycleException: -container for web app doesn't start
problem back when I try to retrieve my login page
Borland-Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request
I think this is a class loading problem with Tomcat but I don't know how to resolve it.
Joined: Aug 08, 2003
Oct 13, 2004 07:57:00
This problem builds on itself:
1 - the class can't be found, so
2 - the lifecycle of the context cannot start, so
3 - the context is not available, so
4 - you get a 500 error
What class does it say it cannot find?
Where did you reference that class?
Have you placed the class where you told tomcat you would place it?
If the class in question is in a .jar, have you placed the jar in either:
CATALINA_HOME/common/lib, CATALINA_HOME/shared/lib, or <your context>/WEB-INF/lib?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Tomcat NoClassDefFoundError + LifecycleException
a big problem when I start learning servlet
How to set up different port number for Tomcat
Eclipse not getting configured with Tomcat
Fun with Classpaths
IllegalAccesError in ConfigureListener
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015