“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号在重新部署时并不一致。
有什么想法吗?
答案 0 :(得分:-1)
我已经有过几次了,但是对于bitbucket开发,大多数这些错误都可以通过检查pom-dependency来解决(因为它们使用了很多旧版本,所以检查版本),检查你的atlassian-plugin.xml +如果你不使用altassian spring扫描器,请参考osgi。
我希望这有所帮助,祝你好运!