wood burning stoves*
The moose likes JBoss/WildFly and the fly likes Servlet.service() for servlet action threw exception java.lang.NoSuchMethodError: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Servlet.service() for servlet action threw exception java.lang.NoSuchMethodError:" Watch "Servlet.service() for servlet action threw exception java.lang.NoSuchMethodError:" New topic
Author

Servlet.service() for servlet action threw exception java.lang.NoSuchMethodError:

Arlene Cau
Greenhorn

Joined: Oct 05, 2012
Posts: 11
Hello
I am using Eclipse with JBoss 5.1 with jdk 1.6.
I am getting the above error in one of my jsps.
Here is the code it fails on...
eventResult.setEventScoreElementList(null); /// public void setEventScoreElementList(List<EventScoreElement> list) { eventScoreElementList = list; }

ERROR [action].error:419 - Servlet.service() for servlet action threw exception
java.lang.NoSuchMethodError: com.brainbench.alttest.event.EventResult.setEventScoreElementList(Ljava/util/List;)V

Could it be that its a setEventScoreElementList is looking for a java.util.List param but getting the null instead?
I had this working on JBoss 4.0.5 but now it won't work.
Any help please!!!
I have even tried to switch to jdk 1.5 but still won't work...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet.service() for servlet action threw exception java.lang.NoSuchMethodError: