A EAR application is composed with an EJB module + WAR module. Both are depending on Deltaspike (1.8.0) libraries. While deploy the application under JBoss EAP 7.0, the output shows the following exception:
Caused by: java.util.ServiceConfigurationError: org.apache.deltaspike.core.spi.config.ConfigSourceProvider: Provider org.apache.deltaspike.core.impl.config.DefaultConfigSourceProvider not a subtype
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.apache.deltaspike.core.util.ServiceUtils.loadServiceImplementations(ServiceUtils.java:66)
The problem happen with CDI View extension ony from the WAR module. The initialization is correct from the EJB module.
What's going wrong with the WAR. Is it a configuration problem ?