Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.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
Deployment Fuse Fabric部署错误| java.lang.Exception:无法解析功能_Deployment_Soa_Esb_Fuseesb_Fusefabric - Fatal编程技术网

Deployment Fuse Fabric部署错误| java.lang.Exception:无法解析功能

Deployment Fuse Fabric部署错误| java.lang.Exception:无法解析功能,deployment,soa,esb,fuseesb,fusefabric,Deployment,Soa,Esb,Fuseesb,Fusefabric,我正在尝试部署到融合结构。该应用程序是使用Spring、Camel、CXF、WS-security、drools和Guvnor构建的 我能够将应用程序部署到Karaf容器,但当我使用FAB部署在Fabric中部署相同的应用程序时。它正在抛出下面的错误堆栈 java.lang.Exception: Can not resolve feature: Unsatisfied requirement(s): --------------------------- package:(&(p

我正在尝试部署到融合结构。该应用程序是使用Spring、Camel、CXF、WS-security、drools和Guvnor构建的

我能够将应用程序部署到Karaf容器,但当我使用FAB部署在Fabric中部署相同的应用程序时。它正在抛出下面的错误堆栈

java.lang.Exception: Can not resolve feature:
 Unsatisfied requirement(s):
---------------------------
   package:(&(package=org.ops4j.pax.exam.options)(version>=1.2.0)(!(version>=2.0.0)))
      Apache Aries Unit Test Support
   package:(&(package=org.apache.aries.mocks)(version>=0.3.0))
      com.eissDemo.ServiceV2
   package:(&(package=org.ops4j.pax.exam)(version>=1.2.0)(!(version>=2.0.0)))
      Apache Aries Unit Test Support
   package:(&(package=javax.xml.namespace)(version>=5.0.0.2)(version<=5.0.0.2))
      com.eissDemo.ServiceV2
   package:(&(package=org.apache.aries.unittest.fixture)(version>=0.4.0))
      com.eissDemo.ServiceV2
   package:(&(package=org.apache.aries.unittest.mocks.annotations)(version>=0.3.0))
      com.eissDemo.ServiceV2
   package:(&(package=org.apache.aries.itest)(version>=0.4.0))
      com.eissDemo.ServiceV2
   package:(&(package=javax.xml.soap)(version>=5.0.0.2)(version<=5.0.0.2))
      com.eissDemo.ServiceV2
   package:(&(package=org.junit))
      Apache Aries Unit Test Support
   package:(&(package=org.apache.aries.unittest.mocks)(version>=0.3.0))
      com.eissDemo.ServiceV2
   package:(&(package=org.apache.aries.unittest.junit)(version>=0.3.0))
      com.eissDemo.ServiceV2
   package:(&(package=javax.persistence)(version>=5.0.0.2)(version<=5.0.0.2))
      com.eissDemo.ServiceV2
   package:(&(package=junit.framework))
      Apache Aries Unit Test Support
   package:(&(package=org.objectweb.asm)(version>=3.3.1)(version<=3.3.1))
      com.eissDemo.ServiceV2
下面的maven以URL为特色

mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.6.0.redhat-60024/xml/features
mvn:org.apache.cxf.karaf/apache-cxf/2.6.0.redhat-60024/xml/features
mvn:org.jboss.fuse/jboss-fuse/6.0.0.redhat-024/xml/features
mvn:org.apache.camel.karaf/apache-camel/2.10.0.redhat-60024/xml/features
并且该应用程序被用作fab

mvn:com.xxxx/ServiceV2/1.0.0-SNAPSHOT

谁能告诉我,我是否使用了足够的功能,或者我需要更多的功能,如果是的话,需要包括哪些功能?为什么我需要在结构中包含测试框架?或者如何避免它们部署在fuse fabric中?

什么是FAB部署?为什么您的测试依赖项会进入此捆绑包/功能中?您能检查一下这些东西在pom中是否标记为
test
?或者您可以将所有的测试和测试依赖项放在一个单独的集成测试模块中。。。
mvn:com.xxxx/ServiceV2/1.0.0-SNAPSHOT