• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic


wbrian radley
Posts: 22
  • Mark post as helpful
  • send pies
  • 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,

Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic