在Spring Boot中测试ProducerTemplate(org.apache.camel)的sendBody函数时无法解析JavaConfigContextLoader.class

时间:2018-09-11 05:18:14

标签: maven spring-boot spring-camel

我试图通过以下链接运行“带有Java Config示例的春季测试”来测试我的ProducerTemplate(org.apache.camel)sendBody函数。但是,我无法确定对org.apache.camel.spring.javaconfig.test.JavaConfigContextLoader.class的依赖性。我的编译器说无法解决。我已经添加了以下依赖项:

  1. camel-spring-boot-starter
  2. camel-http
  3. camel-spring-javaconfig
  4. 骆驼测试弹簧

和spring starter的依赖关系。

http://people.apache.org/~dkulp/camel/testing.html

我的spring-boot-starter-parent版本是2.0.4.RELEASE。

0 个答案:

没有答案