Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Invalid manifest header Provide-Capability(Runtime exception due to org.osgi.framework.BundleException: Invalid manifest header Provide-Capability: "osgi.ee; osgi.ee="OSGi/Minimum"; )
Invalid manifest header Provide-Capability [message #1860727] Wed, 30 August 2023 05:16 Go to next message
Dharmendra Dubey is currently offline Dharmendra DubeyFriend
Messages: 1
Registered: August 2023
Junior Member
While migrating java based app from Java1.8 to Java11, I am facing following errors but not sure which jar file has issues and how to resolve it.

29-Aug-2023 10:37:57.542 SEVERE [main] org.apache.catalina.core.ApplicationContext.log Error while starting Framework
java.lang.RuntimeException: Error occurred while checking the system module.
at org.eclipse.osgi.storage.Storage.checkSystemBundle(Storage.java:449)
at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:180)
at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:94)
at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:34)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:315)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.servletbridge.FrameworkLauncher.start(FrameworkLauncher.java:423)
at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeServlet.java:101)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at com.ibm.team.repository.server.servletbridge.JazzServlet.init(JazzServlet.java:80)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1123)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1078)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:971)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4849)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1850)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:934)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1382)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1372)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:907)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:933)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:637)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)

Caused by: org.osgi.framework.BundleException: Invalid manifest header Provide-Capability: "osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2", osgi.ee; osgi.ee="JRE"; version:List<Version>="1.0, 1.1", osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0",osgi.ee; osgi.ee="JavaSE/compact1"; version:List<Version>="1.8, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0",osgi.ee; osgi.ee="JavaSE/compact2"; version:List<Version>="1.8, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0",osgi.ee; osgi.ee="JavaSE/compact3"; version:List<Version>="1.8, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0", eclipse.platform; osgi.os=win32; osgi.ws=win32; osgi.arch=x86_64; osgi.nl=, osgi.native; osgi.native.osname:List<String>="Windows10,Windows 10,Win10,Win32"; osgi.native.processor:List<String>="x86-64,amd64,em64t,x86_64"; osgi.native.osversion:Version="10.0.0"; osgi.native.language="""
at org.eclipse.osgi.util.ManifestElement.parseHeader(ManifestElement.java:416)
at org.eclipse.osgi.container.builders.OSGiManifestBuilderFactory.createBuilder(OSGiManifestBuilderFactory.java:117)
at org.eclipse.osgi.storage.Storage.getBuilder(Storage.java:799)
at org.eclipse.osgi.storage.Storage.checkSystemBundle(Storage.java:397)
... 56 more
Re: Invalid manifest header Provide-Capability [message #1860734 is a reply to message #1860727] Wed, 30 August 2023 13:50 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33155
Registered: July 2009
Senior Member
It looks like you are using a version of Eclipse from almost 4 years ago, and maybe are using Java 17 to run it. Can you try a newer version of Eclipse? Or ensure you are using Java 11 and not 17?

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Installation fails with error
Next Topic:issue with c++ compiler
Goto Forum:
  


Current Time: Wed May 29 13:16:18 GMT 2024

Powered by FUDForum. Page generated in 0.07956 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top