Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Software Craftsman this week in the Agile 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...
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Servlet.service() for servlet action threw exception java.lang.NoSuchMethodError: