• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.NoSuchMethodError  RSS feed

 
Shahir Deo
Ranch Hand
Posts: 80
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

Well this may seems another java.lang.NoSuchMethodError problem, but i have gone through some of the solution but it didnot help.

I made some change (Added two private variables) to Form class , Now when i generate an EAR , the size of the class file is less (Compared to previous) , However it should have increased.

At some point i am getting java.lang.NoSuchMethodError in this class , So i opened .class file & searched missing method and did not got . so i checked in the previous .class file , and i got that method.


CAN anybody let me know why some methods get disappear at Runtime ? All the required JAR are present at build path?

IBM RAD 7.5
IBM Websphere 6.1
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What class and what method is that? Is that an auto generated method? Also, please post the entire exception stacktrace.
 
Shahir Deo
Ranch Hand
Posts: 80
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaikiran Pai wrote:What class and what method is that? Is that an auto generated method? Also, please post the entire exception stacktrace.


It is a AddForm class. The Method is not there in AddForm Java class.

StackTrace :


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!