Two things to try, if you are still stuck I will try running the samples on my copy of Wildfly.
1) Put Axis2 in trace mode via the logging.properties file, and paste the logs. 2) Classloaders can act in unexpected ways, that sometimes can be fixed by expanding them into WEB-INF/classes ... so try copying axis2-transport-local-1.7.9.jar into WEB-INF/classes and expanding it via 'jar xf axis2-transport-local-1.7.9.jar' . On Sat, Oct 19, 2019 at 5:21 AM albert kao <albertk...@gmail.com> wrote: > I am learning axis2 by doing the "samples/java_first_jaxws". > > $ cd $AXIS2_HOME/samples/java_first_jaxws > $ mvn package > > java_first_jaxws-1.7.9.war was built successfully. > > $ cp > ~/axis2-1.7.9/samples/java_first_jaxws/target/java_first_jaxws-1.7.9.war > $JBOSS_HOME/standalone/deployments > > wildfly server.log had this error: > 2019-10-19 10:38:43,017 INFO [org.wildfly.extension.undertow] > (ServerService Thread Pool -- 74) WFLYUT0021: Registered web context: > '/java_first_jaxws-1.7.9' for server 'default-server' > 2019-10-19 10:38:43,024 ERROR > [org.jboss.as.controller.management-operation] (Controller Boot Thread) > WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => > "jaxws-samples.war")]) - failure description: {"WFLYCTL0080: Failed > services" => > {"jboss.deployment.unit.\"jaxws-samples.war\".undertow-deployment" => > "javax.servlet.ServletException: javax.servlet.ServletException: > org.apache.axis2.deployment.DeploymentException: > org.apache.axis2.transport.local.LocalTransportSender from [Module > \"deployment.jaxws-samples.war\" from Service Module Loader] > Caused by: javax.servlet.ServletException: > javax.servlet.ServletException: > org.apache.axis2.deployment.DeploymentException: > org.apache.axis2.transport.local.LocalTransportSender from [Module > \"deployment.jaxws-samples.war\" from Service Module Loader] > Caused by: javax.servlet.ServletException: > org.apache.axis2.deployment.DeploymentException: > org.apache.axis2.transport.local.LocalTransportSender from [Module > \"deployment.jaxws-samples.war\" from Service Module Loader] > Caused by: org.apache.axis2.deployment.DeploymentException: > org.apache.axis2.transport.local.LocalTransportSender from [Module > \"deployment.jaxws-samples.war\" from Service Module Loader] > Caused by: java.lang.ClassNotFoundException: > org.apache.axis2.transport.local.LocalTransportSender from [Module > \"deployment.jaxws-samples.war\" from Service Module Loader]"}} > > > > I completed the Axis2 Quick Start Guide successfully so my configurations > are correct. > > My configurations are: > axis2-1.7.9 Binary distribution. > axis2.war is built > Apache Ant(TM) version 1.10.1 > wildfly-15.0.1.Final > Apache Maven 3.6.0 > Java version: 1.8.0_202 > linux mint 18.3 > Default locale: en_CA, platform encoding: UTF-8 > OS name: "linux", version: "4.10.0-38-generic", arch: "amd64", family: > "unix" > >