0

使用OSGi部署 JxBrowser 时,当我尝试构建我的产品时出现以下错误:

[ant] !MESSAGE Missing requirement: JxBrowser 6.6.1 6.6.1 (com.teamdev.jxbrowser.chromium 6.6.1) requires 'package sun.awt.windows 0.0.0' but it could not be found

sun.awt.windows 包是 JRE 的一部分(在 rt.jar 中),我真的不明白为什么 JxBrowser OSGi 包找不到它。任何关于为什么会这样的想法将不胜感激。

谢谢您的帮助!

4

1 回答 1

0

从清单文件中删除包导入,就像弗拉基米尔建议的那样解决了这个问题。

于 2016-09-09T15:28:01.227 回答