[jbosstools-issues] [JBoss JIRA] (JBDS-4055) Bundles should "import-package" javax.servlet
Mat Booth (JIRA)
issues at jboss.org
Wed Sep 21 13:23:00 EDT 2016
Mat Booth created JBDS-4055:
-------------------------------
Summary: Bundles should "import-package" javax.servlet
Key: JBDS-4055
URL: https://issues.jboss.org/browse/JBDS-4055
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Sub-task
Components: livereload
Reporter: Mat Booth
Assignee: Alexey Kazakov
I have an environment where I am using a different implementation of javax.servlet 3.1.0 that has a different bundle symbolic name.
Because of this, some jboss bundles that use "Require-Bundle" fail to load with errors like the following:
{code}
!ENTRY org.jboss.tools.livereload.core 4 0 2016-09-21 18:08:45.542
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.livereload.core [1176]
Unresolved requirement: Require-Bundle: javax.servlet; bundle-version="3.1.0"
at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1599)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
{code}
Ideally, these dependencies should be specified instead with "Import-Package" as recommended by OSGi.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list