【发布时间】:2016-01-28 11:10:18
【问题描述】:
尝试使用 Intellij IDEA 运行 @org.junit.Test。
这是一个 OSGi 包,当点击 Run 'testMyTest'
得到以下异常:
Error:osgi: [b2b-bundle] The default package '.' is not permitted by the Import-Package syntax.
This can be caused by compile errors in Eclipse because Eclipse creates
valid class files regardless of compile errors.
The following package(s) import from the default package null
有人可以分享一下这个例外吗?
谢谢, 彼得
【问题讨论】:
-
是的,一直在谷歌上搜索找到了几篇关于它的博客文章。当我进行全新安装时,它可以工作,在 eclipse 中它可以工作,在 intellij 中它不...不使用 jdom
标签: java intellij-idea osgi aem