jQuery in Action, 2nd edition*
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Server Error: java.lang.NoSuchMethodError" Watch "Tomcat Server Error: java.lang.NoSuchMethodError" New topic
Author

Tomcat Server Error: java.lang.NoSuchMethodError

Romeo Ranjan
Ranch Hand

Joined: Feb 23, 2009
Posts: 95
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
Rancher

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

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


Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
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!!!