Felix Meschberger created FELIX-3947:
----------------------------------------
Summary: ClassDefNotFoundError in Inventory bundle setup if
Servlet API cannot be wired
Key: FELIX-3947
URL: https://issues.apache.org/jira/browse/FELIX-3947
Project: Felix
Issue Type: Bug
Components: Inventory
Affects Versions: inventory-1.0.0
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: inventory-1.0.0
If the Servlet API cannot be wired to the Inventory bundle because it is
missing, the bundle starts but the Activator throws a ClassDefNotFoundError
because the Web Console plugin service cannot be created and registered.
It makes sense to dynamically bind the Servlet API to not prevent this bundle
from starting. But then the Web Console plugin class must not be loaded to
register the service factory service. Otherwise the API is still "statically"
required and the bundle fails to properly start if not available.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira