permaculture playing cards*
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
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "java.lang.NoSuchMethodError" Watch "java.lang.NoSuchMethodError" New topic
Author

java.lang.NoSuchMethodError

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)


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

Joined: Feb 24, 2006
Posts: 6662
    
    5

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
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

How is the dependency managed ? Maven ? Did you update dependencies at compile time ? What is deployed at runtime and how ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NoSuchMethodError