Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat <init>()V Problem

Status
Not open for further replies.
Jun 12, 2006
1
US
After compiling my java and jsp's after I turn on tomcat I get this error:

Code:
javax.servlet.ServletException: Servlet.init() for servlet controller threw exception
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
	org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
	org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
	org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	java.lang.Thread.run(Thread.java:534)


root cause 

java.lang.NoSuchMethodError: com.edsplm.tc.ent._wcc.wae.ctrl.request.RequestManagerHelperImpl: method <init>()V not found
	com.teamcenter.presentation.wae.internal.ctrl.context.ControllerContextImpl.<init>(ControllerContextImpl.java:61)
	com.teamcenter.presentation.wae.internal.ctrl.context.ControllerContextFactory.getContext(ControllerContextFactory.java:52)
	com.teamcenter.presentation.wae.internal.ctrl.Controller.init(Controller.java:62)
	javax.servlet.GenericServlet.init(GenericServlet.java:211)
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
	org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
	org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
	org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	java.lang.Thread.run(Thread.java:534)

I have researched and researched this issue with no
luck so I bring this issue to you for resolution. I have already tried to take out my java and jsp files
with no luck. Thanks in advance
 
That error means that when you compiled the class "com.edsplm.tc.ent._wcc.wae.ctrl.request.RequestManagerHelperImpl" there was a method called "init" with a specific signature - but at run time, that method cannot be found.
Basically, you need to check that you are building and deploying your application correctly, and not leaving old compiled code around in Tomcat's classpath.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top