org.osgi.framework.BundleException: Invalid manifest header Import-Package: "java.lang.Boolean" : Cannot specify java.* packages in Import/Export headers "java.lang.Boolean"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Liferay Issues by Neil Griffin, 1 year ago
Invalid manifest header Import-Package: "java.lang.Boolean" : Cannot specify java.* packages in Import/Export headers "java.lang.Boolean"
org.osgi.framework.BundleException: Invalid manifest header Import-Package: "java.lang.Boolean" : Cannot specify java.* packages in Import/Export headers "java.lang.Boolean"
at org.eclipse.osgi.container.builders.OSGiManifestBuilderFactory.checkImportExportSyntax(OSGiManifestBuilderFactory.java:147)
at org.eclipse.osgi.container.builders.OSGiManifestBuilderFactory.validateHeaders(OSGiManifestBuilderFactory.java:118)
at org.eclipse.osgi.container.builders.OSGiManifestBuilderFactory.createBuilder(OSGiManifestBuilderFactory.java:78)
at org.eclipse.osgi.container.builders.OSGiManifestBuilderFactory.createBuilder(OSGiManifestBuilderFactory.java:56)
at org.eclipse.osgi.storage.Storage.getBuilder(Storage.java:589)
at org.eclipse.osgi.storage.Storage.update(Storage.java:714)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.update(DirectoryWatcher.java:1133)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.update(DirectoryWatcher.java:905)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:484)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.