-
1. Re: server/<>/lib jar java.lang.NoSuchMethodException
nizzy Aug 22, 2012 8:18 AM (in response to nizzy)So i removed the reflection fto try and simplify;
Error;
java.lang.LinkageError: loader constraint violation: when resolving method "xxx.xxx.xxx.xxx.class.A.<init>(Lorg/quartz/Scheduler;Ljava/lang/String;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, xxx/xxx/xxx/xxx/xxx/class.AFactory, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for resolved class, xxx.xxx.xxx.xxx.class.A, have different Class objects for the type org/quartz/Scheduler used in the signature
...
...
...
So either a different classloader is being used or there are different versions of the quartz scheduler. I will keep investigating, cheers in advance for any input. This also explains the reason for the NoSuchMethodException.
-
2. Re: server/<>/lib jar java.lang.NoSuchMethodException
nizzy Aug 22, 2012 8:39 AM (in response to nizzy)So now know JBoss ships with 2006 version of Quartz
Since I can't replace the version of quartz used by JBoss. I think my only option is to investigate a different deployment strategy for "plugging" in components. I can't use the server/<>/lib directory, not in this instance at least.