Click to See Complete Forum and Search --> : Quartz Scheduler for JBoss


mohanty.abhijit
03-07-2007, 07:39 AM
Can someone plz help me fix this issue...i'am using a quartz scheduler for invoking my Timer.java class in Jboss server:confused: but i'am getting the following error :
java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;

:confused:

agent_x91
03-10-2007, 11:57 AM
I have no idea what a quartz scheduler is but a NoSuchMethodError is thrown during runtime when a method is expected to exist but doesn't. It's usually called in java programs when you try to run them but they don't include a "main" method.

In this case, java seems to be complaining that the method org.apache.commons.collections.SetUtils.orderedSet doesn't exist. I am guessing this is a JSP question rather than a Java question but the exception should apply to both. Having never worked with JSP, I'm also not sure whether the method given is a JSP-defined method or one that you've made, but if it's yours I'd suggest going over the code.

Sorry if that wasn't much help.

mohanty.abhijit
03-13-2007, 02:55 AM
Thnx so much brother..that was of gr8 help.

javart1
03-13-2007, 08:26 PM
I had the same problem. Updating the the latest version of commons-collections-3.1.jar
resolved the problem.

agent_x91
03-14-2007, 06:49 AM
If the older version of the jar file javart mentioned didn't define that method then it's likely that is the problem. Best to update it anyway; it certainly can't make the problem any worse :)

mohanty.abhijit
03-21-2007, 09:25 PM
thnx so much javart and agent...it seems to work now after updating the jar file.