Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1900

Inconsistent class space with package from javaee.api

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Beta1
    • None
    • OSGi
    • None

    Description

      The jboss-osgi-http bundle is the provider of the HttpService and must among other packages import/export javax.servlet. In OSGi it is perfectly valid to have more than one exporter of the same package in the system. It is the job of the resolver to generate the wirings such that all the class spaces are consistent.

      In your case, one exporter of javax.servlet is the javaee.api module - another is jboss-osgi-http. Your webapp is not an OSGi bundle and hence can only wire to javax.servlet available from the javaee.api module.

      Attachments

        Activity

          People

            tdiesler@redhat.com Thomas Diesler
            tdiesler@redhat.com Thomas Diesler
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: