When compiling a project in idea IDE, error occurs: Error:osgi: [Test] 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
But when using Eclipse ide, it works. I've googled times, only found this post , but it's not my case. I de-compiled the produced class by OSGI, there's no class has syntax like import . Any idea for this problem?
