This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat Server Error: java.lang.NoSuchMethodError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Server Error: java.lang.NoSuchMethodError" Watch "Tomcat Server Error: java.lang.NoSuchMethodError" New topic

Tomcat Server Error: java.lang.NoSuchMethodError

Romeo Ranjan
Ranch Hand

Joined: Feb 23, 2009
Posts: 92
Dear Ranchers,

I am trying to compile .java file and put the class file in a webapplication, but the tomcat server keep giving me this following. Can someone explain me why this error occurs?

SCJP 6.0
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12759
Tch - double post.
Romeo Ranjan
Ranch Hand

Joined: Feb 23, 2009
Posts: 92
Its turns out be there was no method called setname in the Interval class..found and solved the problem

Consider Paul's rocket mass heater.
subject: Tomcat Server Error: java.lang.NoSuchMethodError
Similar Threads
Error configuring application listener of class net.jforum.ForumSessionListener
Servlet.service() for servlet jsp threw exception
cannot delete a post on CVS version
null pointer exception
This works at home tomcat but not where I want to deploy it!!!