【发布时间】:2013-02-03 02:18:23
【问题描述】:
尝试在 Glassfish 3.1.2.2 上部署示例球衣战争捆绑代码(git 上的 helloworld-osgi-webapp:https://github.com/jersey/jersey-1.x/tree/master/jersey/samples/helloworld-osgi-webapp)时,我收到以下 osgi 错误:
remote failure: Error occurred during deployment: Exception while loading the app:
org.osgi.framework.BundleException: Unresolved constraint in bundle war-bundle [344]:
Unable to resolve 344.0: missing requirement [344.0] osgi.wiring.package; (&(osgi.wiring.package=com.sun.jersey.api.core)(version>=1.18.0)(!(version>=2.0.0))).
Please see server.log for more details.
Command deploy failed
为什么 maven felix 插件没有在战争中嵌入库?
提前感谢,
M.
【问题讨论】:
标签: java jersey osgi glassfish-3 apache-felix