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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "java.lang.NoSuchMethodError" Watch "java.lang.NoSuchMethodError" New topic


Ankit Mishra
Ranch Hand

Joined: Jul 15, 2009
Posts: 40
hi everyone,

I am getting following exception while running my servlet. I have deployed my ejb jar and application war on weblogic server 8.1 sp6.

Using jdk 1.4 version.

It will be great if some one can help me resolve with this.

java.lang.NoSuchMethodError: com.order.session.OrderManagement.sayHello(Ljava/lang/String;)Ljava/lang/String;
at com.order.processor.OMProcessor.doGet(OMProcessor.java:57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

Ankit Mishra (SCJP 5.0 93%), (SCWCD 5.0 97%)
Deepak Bala

Joined: Feb 24, 2006
Posts: 6661

Did you add a say hello method ? Perhaps old jars are cached and deployed in WL ? Clean and do a deploy again

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Ankit Mishra
Ranch Hand

Joined: Jul 15, 2009
Posts: 40
ya i have added that in remote interface and bean class.

I dont know why it is happening any idea where could be I am making mistake?

Below is my servlet code:

Deepak Bala

Joined: Feb 24, 2006
Posts: 6661

How is the dependency managed ? Maven ? Did you update dependencies at compile time ? What is deployed at runtime and how ?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: java.lang.NoSuchMethodError
Similar Threads
Got an error
weblogic integration 8.1 urgent
Error 500--Internal Server Error...
Internal server error with weblogic
Testing IBM MQ on BEA Weblogic Server