camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huuhkha <harri.huu...@kela.fi>
Subject Cache component dependency causes tests to fail
Date Wed, 18 May 2016 10:55:37 GMT

Hi, I am using Camel with Spring Boot. I would like to use Camel
cache-component. But simply adding cache component dependency 
<dependency>
<groupId>org.apache.camel</groupId>
	<artifactId>camel-cache</artifactId>
	<version> 2.17.1</version>
</dependency>
to pom.xml causes all tests to fail with following:
java.lang.NoClassDefFoundError: Could not initialize class
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.

 With versions  2.16.* it was not possible to use cache component with SOAP
messages in payload mode. Now the application works with cache component but
test context does not load.

Camel  2.17.1 (2.17.0 behaves the same)
Spring Boot 1.3.3.RELEASE
Java 1.7

Is this solved by excluding some libraries from cache-component dependency 
or is the problem something else ??? 

Regards huuhka




--
View this message in context: http://camel.465427.n5.nabble.com/Cache-component-dependency-causes-tests-to-fail-tp5782746.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message