Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.nosuchmethod found  RSS feed

 
Nitin Raodeo
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am working with EJB20 using weblogic6.1
I successfully could run my servlet which was retrieving my session bean.
Now i added a new method in my session bean ,and compiled it successfully and deployed it .
But at run time an error come up saying
java.lang.NoSuchMethodError.

java.lang.NoSuchMethodError
at numbergroup.client.Client_cascadeDelete.doGet(Client_cascadeDelete.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)

This error is coming when i call my newly added remote method in the session bean.Other methods called in the session bean are working fine in the same code.

can somebody guide me !
Thanx
Nuts
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you're running against an older version of the code than you're compiling against. Have you re-run ejbc, etc over the bean? Also, how are you deploying your servlet+EJB?
Simon
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!