wood burning stoves 2.0*
The moose likes Tomcat and the fly likes HTTP 500 error when deploying war file in Apache Tomcat 7.0.25 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "HTTP 500 error when deploying war file in Apache Tomcat 7.0.25" Watch "HTTP 500 error when deploying war file in Apache Tomcat 7.0.25" New topic
Author

HTTP 500 error when deploying war file in Apache Tomcat 7.0.25

Anu Nandan
Greenhorn

Joined: Aug 15, 2012
Posts: 1
I get the below error when deploying my war file in tomcat 7.0.25 in linux.

javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.Compiler.<init>(Lorg/eclipse/jdt/internal/compiler/env/INameEnvironment;Lorg/eclipse/jdt/internal/compiler/IErrorHandlingPolicy;Lorg/eclipse/jdt/internal/compiler/impl/CompilerOptions;Lorg/eclipse/jdt/internal/compiler/ICompilerRequestor;Lorg/eclipse/jdt/internal/compiler/IProblemFactory;)V
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


This seems to happening only in one system, tested in other 2 systems and they seem to work fine. Not sure if Linux version has anything to do with it.

Can some please help me with this one.

Thank you, in advance.

Anu
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951
    
  19

Welcome to the JavaRanch, Anu!

The offending class belongs to Eclipse IDE, not Tomcat. If you are truly deploying this WAR and not simply testing it, there shouldn't be any Eclipse-specific classes in it. Eclipse doesn't have any proprietary classes that it includes in application builds the way that older IDEs did. Which, to me, is one of its virtues.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP 500 error when deploying war file in Apache Tomcat 7.0.25
 
Similar Threads
exception javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.com
getting ServletException
JCaptcha and Struts
getting error when involking jsp file.
IndexOutOfBounds in BeanUtils.Populate()