dave00/gyorslevel — pull request #29 by mnyeste (2012-08-12 21:08:39+00:00)
Title: Integration test of #20 failed

Installing the release contains changes for #20 caused the following exception:

2012-08-12 20:19:03.194:WARN::Failed startup of context org.mortbay.jetty.webapp.WebAppContext@24fe2558{,file:/opt/jetty-6.1.26/webapps/root.war}
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmxBeanAspect': Invocation of init method failed; nested except
ion is java.lang.NoSuchMethodError: org.apache.james.domainlist.api.DomainListManagementMBean.addDomain(Ljava/lang/String;)V

After checking the dependencies, it was obvious that 3.0-M2 version of james dependencies are not necessary, since the required classes have been moved to another packages in 3.0-beta4. Using the M2 dependencies messed up the classloading - on the integration environment wrong versions of classes have been loaded, causing the problem above.

Removing M2 versions solved the problem.

In general, it is a bad practice, to mix versions of the same dependency "family".