当我尝试在Servicemix中安装我的捆绑包时,出现以下错误:
Error executing command: Error starting bundles:
Unable to start bundle 179: Unresolved constraint in bundle de.edigrid.edigrid-servicemix-util [179]: Unable to resolve 179.0: missing requirement [179.0] osgi.wiring.package; (osgi.wiring.package=javax.persistence)
谁能告诉我是否有一个标准的jar文件,兼容OSGi,可以导出javax.persistence包?
谢谢。
发布于 2014-07-08 20:05:09
只需安装jpa特性即可。如果此功能在您的servicemix版本中不可用,请尝试:
install -s mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1
发布于 2014-07-08 19:40:56
EclipseLinks有一个包,它包含在他们的下载中:http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/releases/2.5.2/eclipselink-plugins-2.5.2.v20140319-9ad6abd.zip
或者,您也可以从Amdatu依赖关系存储库获得相同的包:https://bitbucket.org/amdatu/amdatu-repository/src/53bb0dd92bcf005da5a6937c2034d366e9f21365/dependencies/javax.persistence/javax.persistence-2.0.3.jar?at=master#
https://stackoverflow.com/questions/24630256
复制相似问题