• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NoSuchMethodError

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my code is using the method org.apache.commons.collections.CollectionUtils.exists;
commons-collections-3.2.jar is on the classpath, on WEB-INF\lib, on C:\Tomcat\server\lib, and on the Hibernate home dir; there are no earlier versions on the classpath nor on these directories nor on any other of the Tomcat directories; there is only 1 version of Tomcat running: 5.5.26;
I re-installed it to be sure an older version wasn't been cached;
I can run the code that uses CollectionUtils.exists from the command line
just fine; I have the same set up at work; same version of Tomcat, etc
and all works fine;

but on this machine at home I get a javax.servlet.ServletException,
java.lang.NoSuchMethodError: org.apache.commons.collections.CollectionUtils.exists
(Ljava/util/Collection;Lorg/apache/commons/collections/Predicate Z

I hoping someone has some suggestions as to where the problem might lie;
thank you for any help that might be able to provide,

Brian
 
reply
    Bookmark Topic Watch Topic
  • New Topic