解决办法:按如下方法启动wildfly
./standalone.sh -c standalone-full.xml
错误如下:
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Alpha5:deploy (default-cli) on project EJOS: Deployment failed: Operation failed: {
"WFLYCTL0080: Failed services" => {
"jboss.deployment.unit.\"EJOS.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"EJOS.war\".WeldStartService: Failed to start service
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type EntityManager with qualifiers @Default
at injection point [BackedAnnotatedField] @Inject cn.edu.sdut.softlab.service.AbstractFacade.em
at cn.edu.sdut.softlab.service.AbstractFacade.em(AbstractFacade.java:0)
"},
"WFLYCTL0412: Required services that are not installed:" => [