[
https://issues.jboss.org/browse/AS7-1900?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler updated AS7-1900:
--------------------------------
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.
Forum Reference:
http://community.jboss.org/message/627951#627951 (was:
http://community.jboss.org/message/627951#627951)
Inconsistent class space with package from javaee.api
------------------------------------------------------
Key: AS7-1900
URL:
https://issues.jboss.org/browse/AS7-1900
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: 7.1.0.Beta1
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira