Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Tomcat fails to load jasper class
Tomcat fails to load jasper class [message #303607] Wed, 17 May 2006 22:32
Henrietta Slack is currently offline Henrietta SlackFriend
Messages: 63
Registered: July 2009
Member
Hi, I've been using the internal tomcat server quite successfully for a
while in Eclipse versions up to and including 32M4. I've upgraded to the
latest release candidates but I now get an error; basically tomcat can't
load a jasper class.

The plugin that connects to tomcat is called "org.myserver.webapp" and it
attaches a new context to the server when the plugin starts up, like so:

public void earlyStartup() {
try{
WebappManager.start("mypath", "org.myserver.webapp", new Path("mypath"));
}
catch ( CoreException e ) {
e.printStackTrace();
}
}

I define a servlet 'showThings_jsp' in web.xml in the normal way under the
plugin path and then I hope to get a result by pointing my browser at:

http://localhost:8080/mypath/showThings

But when I do, I just get an HTTP Status 500 report in the browser
("server encountered an internal error") and the following in the catalina
log:

StandardWrapperValve[org.myserver.webapp.jsp.showThings_jsp] : Allocate
exception for servlet org.myserver.webapp.jsp.showThings_jsp
at org.apache.catalina.core.StandardWrapper...StandardWrapper.j ava:672)
at org.apache.catalina.core....StandardWrapperValve.java:210)
at org.apache.catalina.core...$StandardPipelineValveContext..
<snipped>
----- Root Cause -----
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/HttpJspBase
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader...

Thanks for any advice, or should I report this as a bug?
Henrietta
Previous Topic:Looking for Plugin for database documentation
Next Topic:How to include simple CommonNavigator in RCP?
Goto Forum:
  


Current Time: Thu Dec 26 20:17:56 GMT 2024

Powered by FUDForum. Page generated in 0.03002 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top