-1
當我嘗試將Talend中的CXF示例安裝到FuseESB中時,出現了以下錯誤。ServiceMix/Fuse中的JAX-RS ESB
FuseESB:[email protected]> features:install talend-cxf-example-jaxrs-intro
Error executing command: Can not resolve feature:
Unsatisfied requirement(s):
---------------------------
package:(&(package=javax.ws.rs.core)(version>=2.0.0)(!(version>=3.0.0)))
Intro JAX-RS Example Common
package:(&(package=javax.ws.rs)(version>=2.0.0)(!(version>=3.0.0)))
Intro JAX-RS Example REST Resource Bundle
package:(&(package=javax.ws.rs)(version>=2.0.0)(!(version>=3.0.0)))
Intro JAX-RS Example Common
package:(&(package=javax.ws.rs.core)(version>=2.0.0)(!(version>=3.0.0)))
Intro JAX-RS Example REST Resource Bundle
我有JSR-311運行
FuseESB:[email protected]> list|grep -i 311
[ 165] [Active ] [ ] [ ] [ 10] Apache ServiceMix :: Specs :: JSR-311 API 1.1.1 (1.9.0)
如何解決Unsatisfied requirement(s)
錯誤?
Thx。你救了我一天。將項目POM更新到CXF 2.6.0並在Apache ServiceMix 4.5上重新安裝後,它可以正常工作! – 2013-03-14 03:45:54