You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] Manifest org.cocome:cloud-registry-client:jar:1.1 : 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 [org.cocome.cloud.logic.registry.client]
[ERROR] Error(s) found in manifest configuration
Do you use Java JDK(which has to be used) or JRE? Besides, try to update java if possible (try java 8 JDK). Did you use maven within eclipse or via command line? I don't know why, but eclipse sometimes causes some troubles, whereas "mvn clean compile package -s settings.xml" (command line) works fine. I am currently using ubuntu 16.04 and java 1.8.0_121 and do not have any troubles.
I was using OpenJDK 1.7.0_121 with m2e in Eclipse Neon.3 on Ubuntu 16.04, yet, using OpenJDK 1.8.0_121 yields the same error.
However as you proposed running a real maven solved the problem for me. As it stands it can be built, just not with m2e inside Eclipse. So it really seems to be another special case of m2e...
Building the cocome-maven-project after creating the configuration file fails for me when I run the maven goals
clean compile package
.I also attached the log file of the whole maven build with debug output.
CoCoMEBuildError.txt
Yet it also fails with goal
install
:Also full log for this goal attached.
CoCoMEBuildGoalInstallError.txt
The text was updated successfully, but these errors were encountered: