[jbosstools-issues] [JBoss JIRA] (JBDS-4055) Bundles should "import-package" javax.servlet

Jan Richter (JIRA) issues at jboss.org
Tue Oct 11 04:52:01 EDT 2016


     [ https://issues.jboss.org/browse/JBDS-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Richter closed JBDS-4055.
-----------------------------


> 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: Xavier Coulon
>            Priority: Critical
>             Fix For: 10.2.0.AM1
>
>
> 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