And when I tried to publish to the server, the deploy always fails.
In the server.log, I saw the error:
11:50:14,740 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"standalonedesignerdemo.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"standalonedesignerdemo.war\".PARSE: Failed to process phase PARSE of deployment \"standalonedesignerdemo.war\""}}}}