-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Issue Overview
I try to use the liberty-managed container for running test.
I'm using liberty features like jsonb-1.0 and cdi-2.0 that are not compatible with the configuration of the liberty-managed test container.
Unable to load conflicting versions of features "com.ibm.websphere.appserver.javaeeCompatible-6.0" and "com.ibm.websphere.appserver.javaeeCompatible-8.0". The feature dependency chains that led to the conflict are: com.ibm.websphere.appserver.jsp-2.2 -> com.ibm.websphere.appserver.javaeeCompatible-6.0 and com.ibm.websphere.appserver.jsonb-1.0 -> com.ibm.websphere.appserver.jsonbInternal-1.0 -> com.ibm.websphere.appserver.jsonbImpl-1.0.1 -> com.ibm.websphere.appserver.jsonp-1.1 -> com.ibm.websphere.appserver.jsonpInternal-1.1 -> com.ibm.websphere.appserver.jsonpImpl-1.1.1 -> com.ibm.websphere.appserver.javaeeCompatible-8.0
Expected Behaviour
I can use liberty-managed container to run tests for my Java EE 8 application.
Current Behaviour
Dependency conflict, can't run the tests.
Steps To Reproduce
- add
jsonb-1.0to the server.xml features - add the features for the test container
<!-- Enable features -->
<featureManager>
<feature>jsp-2.2</feature>
<feature>localConnector-1.0</feature>
<feature>j2eeManagement-1.1</feature> <!-- Optional, needed to allow injection on ArquillianResources related to servlets -->
<feature>usr:arquillian-support-1.0</feature> <!-- Optional, needed for reliable reporting of correct DeploymentExceptions -->
</featureManager>
- run an arquillian test
Additional Information
Java EE 8 uses servlet-4.0 and this is not supported by arquillian.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels