Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\enterprise\workspace\a3\stats-app>mvn wildfly:deploy
- mvn wildfly:deploy
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for ec.assignment:stats-ear:ear:0.1.0
- [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${project.groupId}:stats-ws:war -> duplicate declaration of version (?) @ line 33, column 15
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] stats-app [pom]
- [INFO] stats-ejb [jar]
- [INFO] stats-web [war]
- [INFO] stats-ws Maven Soap WS [war]
- [INFO] stats-ear [ear]
- [INFO] stats client [jar]
- [INFO] stats database client [jar]
- [INFO]
- [INFO] ----------------------< ec.assignment:stats-app >-----------------------
- [INFO] Building stats-app 0.1.0 [1/7]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] >>> wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) > package @ stats-app >>>
- [INFO]
- [INFO] <<< wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) < package @ stats-app <<<
- [INFO]
- [INFO]
- [INFO] --- wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) @ stats-app ---
- [INFO]
- [INFO] ----------------------< ec.assignment:stats-ejb >-----------------------
- [INFO] Building stats-ejb 0.1.0 [2/7]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] >>> wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) > package @ stats-ejb >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stats-ejb ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ stats-ejb ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 27 source files to C:\enterprise\workspace\a3\stats-app\stats-ejb\target\classes
- [WARNING] /C:/enterprise/workspace/a3/stats-app/stats-ejb/src/main/java/ec/eb/model/ModelDaoImpl.java: Some input files use unchecked or unsafe operations.
- [WARNING] /C:/enterprise/workspace/a3/stats-app/stats-ejb/src/main/java/ec/eb/model/ModelDaoImpl.java: Recompile with -Xlint:unchecked for details.
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stats-ejb ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 0 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ stats-ejb ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ stats-ejb ---
- [INFO]
- [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ stats-ejb ---
- [INFO] Building jar: C:\enterprise\workspace\a3\stats-app\stats-ejb\target\stats-ejb.jar
- [INFO]
- [INFO] <<< wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) < package @ stats-ejb <<<
- [INFO]
- [INFO]
- [INFO] --- wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) @ stats-ejb ---
- [INFO]
- [INFO] ----------------------< ec.assignment:stats-web >-----------------------
- [INFO] Building stats-web 0.1.0 [3/7]
- [INFO] --------------------------------[ war ]---------------------------------
- [INFO]
- [INFO] >>> wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) > package @ stats-web >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stats-web ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\enterprise\workspace\a3\stats-app\stats-web\src\main\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ stats-web ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 14 source files to C:\enterprise\workspace\a3\stats-app\stats-web\target\classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stats-web ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\enterprise\workspace\a3\stats-app\stats-web\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ stats-web ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ stats-web ---
- [INFO] No tests to run.
- [INFO]
- [INFO] --- maven-war-plugin:2.2:war (default-war) @ stats-web ---
- [INFO] Packaging webapp
- [INFO] Assembling webapp [stats-web] in [C:\enterprise\workspace\a3\stats-app\stats-web\target\stats-web]
- [INFO] Processing war project
- [INFO] Copying webapp resources [C:\enterprise\workspace\a3\stats-app\stats-web\src\main\webapp]
- [INFO] Webapp assembled in [117 msecs]
- [INFO] Building war: C:\enterprise\workspace\a3\stats-app\stats-web\target\stats-web.war
- [INFO] WEB-INF\web.xml already added, skipping
- [INFO]
- [INFO] <<< wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) < package @ stats-web <<<
- [INFO]
- [INFO]
- [INFO] --- wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) @ stats-web ---
- [INFO]
- [INFO] -----------------------< ec.assignment:stats-ws >-----------------------
- [INFO] Building stats-ws Maven Soap WS 0.1.0 [4/7]
- [INFO] --------------------------------[ war ]---------------------------------
- [INFO]
- [INFO] >>> wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) > package @ stats-ws >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stats-ws ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\enterprise\workspace\a3\stats-app\stats-ws\src\main\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ stats-ws ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ stats-ws ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\enterprise\workspace\a3\stats-app\stats-ws\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ stats-ws ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ stats-ws ---
- [INFO] No tests to run.
- [INFO]
- [INFO] --- maven-war-plugin:2.2:war (default-war) @ stats-ws ---
- [INFO] Packaging webapp
- [INFO] Assembling webapp [stats-ws] in [C:\enterprise\workspace\a3\stats-app\stats-ws\target\stats-ws]
- [INFO] Processing war project
- [INFO] Copying webapp resources [C:\enterprise\workspace\a3\stats-app\stats-ws\src\main\webapp]
- [INFO] Webapp assembled in [27 msecs]
- [INFO] Building war: C:\enterprise\workspace\a3\stats-app\stats-ws\target\stats-ws.war
- [INFO] WEB-INF\web.xml already added, skipping
- [INFO]
- [INFO] <<< wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) < package @ stats-ws <<<
- [INFO]
- [INFO]
- [INFO] --- wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) @ stats-ws ---
- [INFO]
- [INFO] ----------------------< ec.assignment:stats-ear >-----------------------
- [INFO] Building stats-ear 0.1.0 [5/7]
- [INFO] --------------------------------[ ear ]---------------------------------
- [INFO]
- [INFO] >>> wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) > package @ stats-ear >>>
- [INFO]
- [INFO] --- maven-ear-plugin:3.0.1:generate-application-xml (default-generate-application-xml) @ stats-ear ---
- [INFO] Generating application.xml
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ stats-ear ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\enterprise\workspace\a3\stats-app\stats-ear\src\main\resources
- [INFO]
- [INFO] --- maven-ear-plugin:3.0.1:ear (default-ear) @ stats-ear ---
- [INFO] Building jar: C:\enterprise\workspace\a3\stats-app\stats-ear\target\stats-ear.ear
- [INFO]
- [INFO] <<< wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) < package @ stats-ear <<<
- [INFO]
- [INFO]
- [INFO] --- wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) @ stats-ear ---
- [INFO] JBoss Threads version 2.3.2.Final
- [INFO] JBoss Remoting version 5.0.8.Final
- [INFO] XNIO version 3.6.5.Final
- [INFO] XNIO NIO Implementation Version 3.6.5.Final
- [INFO] ELY00001: WildFly Elytron version 1.6.0.Final
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for stats-app 0.1.0:
- [INFO]
- [INFO] stats-app .......................................... SUCCESS [ 0.576 s]
- [INFO] stats-ejb .......................................... SUCCESS [ 2.263 s]
- [INFO] stats-web .......................................... SUCCESS [ 1.646 s]
- [INFO] stats-ws Maven Soap WS ............................. SUCCESS [ 0.127 s]
- [INFO] stats-ear .......................................... FAILURE [ 5.562 s]
- [INFO] stats client ....................................... SKIPPED
- [INFO] stats database client .............................. SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 10.461 s
- [INFO] Finished at: 2022-11-04T12:05:48-06:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:2.0.1.Final:deploy (default-cli) on project stats-ear: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"stats-ear.ear\".\"stats-ws.war\".undertow-deployment.UndertowDeploymentInfoService" => "Failed to start service
- [ERROR] Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: ec.ws.StatsWS.<init>()
- [ERROR] Caused by: java.lang.NoSuchMethodException: ec.ws.StatsWS.<init>()"}}}}
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <args> -rf :stats-ear
- C:\enterprise\workspace\a3\stats-app>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement