Description
Trying to run a randomly picked test from cdi module on embedded wildfly, but it fails.
Command: mvn -f cdi/alternatives/pom.xml test -Pwildfly-embedded-arquillian -Dwildfly.version=10.1.0.Final
Error:
"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"test.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"test.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"test.war\" Caused by: java.util.ServiceConfigurationError: javax.servlet.ServletContainerInitializer: Provider io.undertow.servlet.sse.ServerSentEventSCI not found"}, "WFLYCTL0412: Required services that are not installed:" => [ "jboss.deployment.unit.\"test.war\".INSTALL", "jboss.deployment.unit.\"test.war\".beanmanager" ], "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.deployment.unit.\"test.war\".batch.environment is missing [jboss.deployment.unit.\"test.war\".beanmanager]", "jboss.deployment.unit.\"test.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"test.war\".beanmanager]" ]
Command: mvn -f cdi/alternatives/pom.xml test -Pwildfly-embedded-arquillian -Dwildfly.version=9.0.0.Final
Error:
Caused by: java.lang.ClassNotFoundException: org.wildfly.core.embedded.EmbeddedStandaloneServerFactory from [Module "org.wildfly.embedded:main" from local module loader @5e7cd6cc (finder: local module finder @68c9d179 (roots: C:\Users\sermetzi\IdeaProjects\javaee7-samples\cdi\alternatives\target\wildfly-9.0.0.Final\modules,C:\Users\sermetzi\IdeaProjects\javaee7-samples\cdi\alternatives\target\wildfly-9.0.0.Final\modules\system\layers\base))]