0

只是“Jira 插件开发依赖地狱”系列的另一个。

> Unable to resolve 189.0: missing requirement [189.0]
> osgi.wiring.package; (osgi.wiring.package=bsh).  This error usually
> occurs when your plugin imports a package from another bundle with a
> specific version constraint and either the bundle providing that
> package doesn't meet those version constraints, or there is no bundle
> available that provides the specified package. For more details on how
> to fix this, see https://developer.atlassian.com/x/mQAN

基本上,我按照此处的说明进行操作:Tutorial - Writing JIRA event listeners with the atlassian-event library

尝试删除 slf4j 依赖项,但我得到了一些不同的错误。此外,我注意到数字 189.0 在重新部署时并不一致。

任何想法?

4

1 回答 1

-1

我也遇到过几次了,但是通过 bitbucket 开发,大多数这些错误都可以通过检查 pom - 依赖项来解决(也检查版本,因为它们使用了很多旧版本),请检查您的 atlassian-plugin.xml + osgi 参考您不使用 altassian spring 扫描仪。

我希望这会有所帮助,祝你好运!

于 2016-04-05T11:36:56.697 回答