• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP 500 error when deploying war file in Apache Tomcat 7.0.25

 
Anu Nandan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic