• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.nosuchmethod found

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic