Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Json jbossfuse中的Junit:等待依赖_Json_Maven_Junit_Jbossfuse - Fatal编程技术网

Json jbossfuse中的Junit:等待依赖

Json jbossfuse中的Junit:等待依赖,json,maven,junit,jbossfuse,Json,Maven,Junit,Jbossfuse,我为骆驼路线写了Junit。路由接受json输入。服务正在建设和安装良好。我已经在karaf中安装了JsonPath包,但在运行Junit时出现以下异常。我已经将maven依赖项指定为compile <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>1.2.0</ve

我为骆驼路线写了Junit。路由接受json输入。服务正在建设和安装良好。我已经在karaf中安装了JsonPath包,但在运行Junit时出现以下异常。我已经将maven依赖项指定为compile

<dependency>
  <groupId>com.jayway.jsonpath</groupId>
  <artifactId>json-path</artifactId>
  <version>1.2.0</version>
  <scope>compile</scope>
</dependency> 

com.jayway.jsonpath
json路径
1.2.0
编译
异常消息:

捆绑测试正在等待依赖项[(&(language=jsonpath)(objectClass=org.apache.camel.spi.languageSolver))]


我认为问题在于骆驼测试。如果你提供资料来源,也许我们可以给你一些想法

顺便说一句,关于“如何编写关于某件事的骆驼测试”,你可以查看官方回购协议。我将为您附加一个指向jsonPath组件测试的链接:


我认为问题在于骆驼测试。如果你提供资料来源,也许我们可以给你一些想法

顺便说一句,关于“如何编写关于某件事的骆驼测试”,你可以查看官方回购协议。我将为您附加一个指向jsonPath组件测试的链接:


问题是因为我错过了pom中的camel JsonPath依赖项。只是添加了它,工作正常。问题是因为我错过了pom中的camel JsonPath依赖项。刚刚添加了它,效果很好。