master broken

Thomas Segismont tsegismo at redhat.com
Wed Mar 27 13:05:28 UTC 2013


Le 27/03/2013 13:57, John Mazzitelli a écrit :
> Once I merged master into a local branch I have, the server started getting errors. I think its due to the dependency changes in the poms:
>
> Caused by: java.lang.NoClassDefFoundError: org/apache/commons/collections/SetUtils
> 	at org.quartz.JobDetail.<init>(JobDetail.java:85) [quartz-1.6.5.jar:1.6.5]
> 	at org.rhq.enterprise.server.scheduler.EnhancedSchedulerImpl.createJobDetail(EnhancedSchedulerImpl.java:476) [rhq-enterprise-server-ejb3.jar:4.7.0-SNAPSHOT]
>
> Anything that needs to run a quartz job will fail.
>
> I'll see if I can fix this - but wanted to bring this up if you pull master and try to run a build from it.
>
> If anyone has any ideas how this broke and how to fix let me know - otherwise, I'm goin' in and if I'm not back in an hour, call for help :}
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
>

Hi Mazz,

In the root POM a set of commons-* dependencies nodes were added to the 
dependencyManagement section (commit 28cdcb1).

If Quartz transitively requires commons-* dependencies, the version he 
expects to find at runtime might not be the one we shipped in the EAR.

A solution might be to explicitly declare the commons-* dependencies 
Quartz is expecting in the server module POM.

Hope it helps.

Thomas


More information about the rhq-devel mailing list