wood burning stoves*
The moose likes Tomcat and the fly likes Tomcat - java.lang.NoSuchMethodError with include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat - java.lang.NoSuchMethodError with include" Watch "Tomcat - java.lang.NoSuchMethodError with include" New topic
Author

Tomcat - java.lang.NoSuchMethodError with include

Sam Ronald
Greenhorn

Joined: Aug 04, 2003
Posts: 4
I'm currently moving a webbased application from Tomcat 4 to Tomcat 5.

Tomcat: jakarta-tomcat-5.0.28
Java: j2sdk1.4.2_06
System: Linux 2.6.10 FC3

While migrating I experienced following problem when I start the application:


I start Tomcat from Eclipse with Sysdeo's Tomcat Plugin for Eclipse.

I tried to track down the problem without any result. It seems do be some kind of conflict. The Method org.apache.jasper.runtime.JspRuntimeLibrary.include is located in /tomcat5/common/lib/jasper-runtime.jar so it should be available to Tomcat. This package is also located in j2ee.jar, but I have already tried to exclude this package without any result.

Any ideas???
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

This sometimes happens if you bring over some of the old jar files from the previous version of Tomcat that you were running.

Try with a clean install.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat - java.lang.NoSuchMethodError with include