只是"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
基本上,我遵循了此处的说明:教程 - 使用 atlassian 事件库编写 JIRA 事件侦听器
尝试删除slf4j依赖项,但出现一些不同的错误。另外,我注意到数字 189.0 在重新部署中不一致。
知道吗?
我也已经得到了几次,但是通过 bitbucket 开发,大多数这些错误可以通过检查 pom - 依赖项来解决(也检查版本,因为它们使用了很多旧版本),检查您的 atlassian 插件.xml + osgi 参考,如果您不使用 Altassian Spring 扫描仪。
我希望这在某种程度上有所帮助,祝你好运!