【问题标题】:Need bundle with javax.persistence on OSGi需要在 OSGi 上与 javax.persistence 捆绑
【发布时间】:2014-08-29 02:18:33
【问题描述】:

当我尝试在 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 包?

谢谢。

【问题讨论】:

    标签: jpa osgi apache-servicemix


    【解决方案1】:

    只需安装 jpa 功能。如果您的 servicemix 版本中没有此功能,请尝试:

    install -s mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1 
    

    【讨论】:

      【解决方案2】:
      猜你喜欢
      • 1970-01-01
      • 2016-03-26
      • 2023-03-03
      • 1970-01-01
      • 2016-01-07
      • 2019-12-19
      • 2014-12-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多