Maven 部署web应用至本地Tomcat8的问题(未解决)
2016-05-20 18:13
549 查看
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00) Maven home: D:\Developing\apache-maven-3.3.9 Java version: 1.8.0_74, vendor: Oracle Corporation Java home: D:\Developing\Java\jdk1.8.0_74\jre Default locale: zh_CN, platform encoding: UTF-8 OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.enterprise.inject.* < plexus.core [DEBUG] Imported: javax.enterprise.util.* < plexus.core [DEBUG] Imported: javax.inject.* < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether.* < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.slf4j.* < plexus.core [DEBUG] Imported: org.slf4j.helpers.* < plexus.core [DEBUG] Imported: org.slf4j.spi.* < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from D:\Developing\apache-maven-3.3.9\conf\settings.xml [DEBUG] Reading user settings from C:\Users\ZDQ\.m2\settings.xml [DEBUG] Reading global toolchains from D:\Developing\apache-maven-3.3.9\conf\toolchains.xml [DEBUG] Reading user toolchains from C:\Users\ZDQ\.m2\toolchains.xml [DEBUG] Using local repository at C:\Users\ZDQ\.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\ZDQ\.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project space.zdq:bs:war:0.0.1-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null] [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: space.zdq:bs:war:0.0.1-SNAPSHOT [DEBUG] Tasks: [org.codehaus.cargo:cargo-maven2-plugin:1.4.19:start] [DEBUG] Style: Regular [DEBUG] ======================================================================= [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building bs Maven Webapp 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: space.zdq:bs:0.0.1-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [test] [DEBUG] Repositories (dependencies): [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] Repositories (plugins) : [central (https://repo.maven.apache.org/maven2, default, releases)] [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.codehaus.cargo:cargo-maven2-plugin:1.4.19:start (default-cli) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?> <configuration> <configuration> <type>standalone</type> <home>D:\Developing\JavaWebLast\workspace\bs\target/tomcat8x</home> </configuration> <container> <containerId>tomcat7x</containerId> <home>D:\Developing\JavaWebLast\apache-tomcat-8.0.32</home> </container> <localRepository>${localRepository}</localRepository> <pluginVersion>${plugin.version}</pluginVersion> <project>${project}</project> <repositories>${project.remoteArtifactRepositories}</repositories> <settings>${settings}</settings> <skip default-value="false">${cargo.maven.skip}</skip> </configuration> [DEBUG] ======================================================================= [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=1, ConflictMarker.nodeCount=76, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=36, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=13, ConflictResolver.conflictItemCount=61, DefaultDependencyCollector.collectTime=550, DefaultDependencyCollector.transformTime=20} [DEBUG] space.zdq:bs:war:0.0.1-SNAPSHOT [DEBUG] junit:junit:jar:3.8.1:test [DEBUG] org.springframework:spring-web:jar:4.2.6.RELEASE:compile [DEBUG] org.springframework:spring-aop:jar:4.2.6.RELEASE:compile [DEBUG] aopalliance:aopalliance:jar:1.0:compile [DEBUG] org.springframework:spring-beans:jar:4.2.6.RELEASE:compile [DEBUG] org.springframework:spring-context:jar:4.2.6.RELEASE:compile [DEBUG] org.springframework:spring-expression:jar:4.2.6.RELEASE:compile [DEBUG] org.springframework:spring-core:jar:4.2.6.RELEASE:compile [DEBUG] commons-logging:commons-logging:jar:1.2:compile [DEBUG] org.apache.struts:struts2-core:jar:2.5:compile [DEBUG] org.freemarker:freemarker:jar:2.3.23:compile [DEBUG] ognl:ognl:jar:3.1.4:compile [DEBUG] org.apache.logging.log4j:log4j-api:jar:2.5:compile [DEBUG] commons-fileupload:commons-fileupload:jar:1.3.1:compile [DEBUG] commons-io:commons-io:jar:2.4:compile [DEBUG] org.apache.commons:commons-lang3:jar:3.4:compile [DEBUG] asm:asm:jar:3.3:compile [DEBUG] asm:asm-commons:jar:3.3:compile [DEBUG] asm:asm-tree:jar:3.3:compile [DEBUG] org.apache.struts:struts2-spring-plugin:jar:2.5:compile [DEBUG] org.hibernate:hibernate-core:jar:5.1.0.Final:compile [DEBUG] org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile [DEBUG] org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile [DEBUG] org.javassist:javassist:jar:3.20.0-GA:compile [DEBUG] antlr:antlr:jar:2.7.7:compile [DEBUG] org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile [DEBUG] org.jboss:jandex:jar:2.0.0.Final:compile [DEBUG] com.fasterxml:classmate:jar:1.3.0:compile [DEBUG] dom4j:dom4j:jar:1.6.1:compile [DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile [DEBUG] org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:compile [DEBUG] org.springframework:spring-orm:jar:4.2.6.RELEASE:compile [DEBUG] org.springframework:spring-jdbc:jar:4.2.6.RELEASE:compile [DEBUG] org.springframework:spring-tx:jar:4.2.6.RELEASE:compile [DEBUG] net.sourceforge.jexcelapi:jxl:jar:2.6.12:compile [DEBUG] log4j:log4j:jar:1.2.17:compile [INFO] [INFO] --- cargo-maven2-plugin:1.4.19:start (default-cli) @ bs --- [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=3, ConflictMarker.markTime=0, ConflictMarker.nodeCount=63, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=36, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3, ConflictResolver.conflictItemCount=58, DefaultDependencyCollector.collectTime=461, DefaultDependencyCollector.transformTime=6} [DEBUG] org.codehaus.cargo:cargo-maven2-plugin:jar:1.4.19: [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:compile [DEBUG] org.apache.maven:maven-project:jar:2.0:compile [DEBUG] org.apache.maven:maven-profile:jar:2.0:compile [DEBUG] org.apache.maven:maven-model:jar:2.0:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:compile [DEBUG] org.apache.maven:maven-artifact:jar:2.0:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile [DEBUG] org.apache.maven:maven-settings:jar:2.0:compile [DEBUG] org.apache.maven:maven-archiver:jar:2.4.1:compile [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0:compile [DEBUG] org.codehaus.plexus:plexus-io:jar:1.0:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.13:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.7:compile [DEBUG] org.codehaus.cargo:cargo-core-api-generic:jar:1.4.19:compile [DEBUG] commons-discovery:commons-discovery:jar:0.4:compile [DEBUG] commons-logging:commons-logging:jar:1.1.1:compile [DEBUG] org.codehaus.cargo:cargo-core-api-container:jar:1.4.19:compile [DEBUG] org.codehaus.cargo:cargo-core-api-module:jar:1.4.19:compile [DEBUG] jdom:jdom:jar:1.0:compile [DEBUG] org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile [DEBUG] org.codehaus.cargo:cargo-documentation:jar:1.4.19:compile [DEBUG] org.codehaus.cargo:cargo-daemon-client:jar:1.4.19:compile [DEBUG] org.codehaus.cargo:cargo-core-api-util:jar:1.4.19:compile [DEBUG] dom4j:dom4j:jar:1.4:compile [DEBUG] xml-apis:xml-apis:jar:1.3.04:compile [DEBUG] jaxen:jaxen:jar:1.0-FCS:compile [DEBUG] saxpath:saxpath:jar:1.0-FCS:compile [DEBUG] msv:msv:jar:20020414:compile [DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile [DEBUG] isorelax:isorelax:jar:20020414:compile [DEBUG] org.apache.ant:ant:jar:1.7.1:compile [DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile [DEBUG] Created new class realm plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.19 [DEBUG] Importing foreign packages into class realm plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.19 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.19 [DEBUG] Included: org.codehaus.cargo:cargo-maven2-plugin:jar:1.4.19 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: org.apache.maven:maven-archiver:jar:2.4.1 [DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-io:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.13 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.4.7 [DEBUG] Included: org.codehaus.cargo:cargo-core-api-generic:jar:1.4.19 [DEBUG] Included: commons-discovery:commons-discovery:jar:0.4 [DEBUG] Included: commons-logging:commons-logging:jar:1.1.1 [DEBUG] Included: org.codehaus.cargo:cargo-core-api-container:jar:1.4.19 [DEBUG] Included: org.codehaus.cargo:cargo-core-api-module:jar:1.4.19 [DEBUG] Included: jdom:jdom:jar:1.0 [DEBUG] Included: org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1 [DEBUG] Included: org.codehaus.cargo:cargo-documentation:jar:1.4.19 [DEBUG] Included: org.codehaus.cargo:cargo-daemon-client:jar:1.4.19 [DEBUG] Included: org.codehaus.cargo:cargo-core-api-util:jar:1.4.19 [DEBUG] Included: dom4j:dom4j:jar:1.4 [DEBUG] Included: xml-apis:xml-apis:jar:1.3.04 [DEBUG] Included: jaxen:jaxen:jar:1.0-FCS [DEBUG] Included: saxpath:saxpath:jar:1.0-FCS [DEBUG] Included: msv:msv:jar:20020414 [DEBUG] Included: relaxngDatatype:relaxngDatatype:jar:20020414 [DEBUG] Included: isorelax:isorelax:jar:20020414 [DEBUG] Included: org.apache.ant:ant:jar:1.7.1 [DEBUG] Included: org.apache.ant:ant-launcher:jar:1.7.1 [DEBUG] Configuring mojo org.codehaus.cargo:cargo-maven2-plugin:1.4.19:start from plugin realm ClassRealm[plugin>org.codehaus.cargo:cargo-maven2-plugin:1.4.19, parent: sun.misc.Launcher$AppClassLoader@5c647e05] [DEBUG] Configuring mojo 'org.codehaus.cargo:cargo-maven2-plugin:1.4.19:start' with basic configurator --> [DEBUG] (f) type = standalone [DEBUG] (s) home = D:\Developing\JavaWebLast\workspace\bs\target/tomcat8x [DEBUG] (f) configuration = org.codehaus.cargo.maven2.configuration.Configuration@308a6984 [DEBUG] (s) containerId = tomcat7x [DEBUG] (s) home = D:\Developing\JavaWebLast\apache-tomcat-8.0.32 [DEBUG] (f) container = org.codehaus.cargo.maven2.configuration.Container@1c05a54d [DEBUG] (f) localRepository = id: local url: file:///C:/Users/ZDQ/.m2/repository/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [DEBUG] (f) pluginVersion = 1.4.19 [DEBUG] (f) project = MavenProject: space.zdq:bs:0.0.1-SNAPSHOT @ D:\Developing\JavaWebLast\workspace\bs\pom.xml [DEBUG] (f) repositories = [ id: central url: https://repo.maven.apache.org/maven2 layout: default snapshots: [enabled => false, update => daily] releases: [enabled => true, update => daily] ] [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@51bde877 [DEBUG] (f) skip = false [DEBUG] -- end configuration -- [DEBUG] dummy:dummy:pom:0.1 (selected for null) [DEBUG] org.codehaus.cargo:cargo-core-container-tomcat:jar:1.4.19 (selected for null) [DEBUG] org.codehaus.cargo:cargo-core-api-generic:jar:1.4.19:compile (selected for compile) [DEBUG] commons-discovery:commons-discovery:jar:0.4:compile (selected for compile) [DEBUG] commons-logging:commons-logging:jar:1.0.4:compile (selected for compile) [DEBUG] org.codehaus.cargo:cargo-core-api-container:jar:1.4.19:compile (selected for compile) [DEBUG] org.codehaus.cargo:cargo-core-api-module:jar:1.4.19:compile (selected for compile) [DEBUG] jdom:jdom:jar:1.0:compile (selected for compile) [DEBUG] org.codehaus.cargo:cargo-core-api-util:jar:1.4.19:compile (selected for compile) [DEBUG] dom4j:dom4j:jar:1.4:compile (selected for compile) [DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile) [DEBUG] jaxen:jaxen:jar:1.0-FCS:compile (selected for compile) [DEBUG] saxpath:saxpath:jar:1.0-FCS:compile (selected for compile) [DEBUG] msv:msv:jar:20020414:compile (selected for compile) [DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile) [DEBUG] isorelax:isorelax:jar:20020414:compile (selected for compile) [DEBUG] org.apache.ant:ant:jar:1.7.1:compile (selected for compile) [DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile) [DEBUG] org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile (selected for compile) [DEBUG] xmlunit:xmlunit:jar:1.2:test (selected for test) [DEBUG] org.codehaus.cargo:cargo-core-api-container:jar:1.4.19:compile (selected for compile) [DEBUG] org.codehaus.cargo:cargo-core-api-module:jar:1.4.19:compile (selected for compile) [DEBUG] jdom:jdom:jar:1.0:compile (selected for compile) [DEBUG] org.codehaus.cargo:cargo-core-api-util:jar:1.4.19:compile (selected for compile) [DEBUG] dom4j:dom4j:jar:1.4:compile (selected for compile) [DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile) [DEBUG] jaxen:jaxen:jar:1.0-FCS:compile (selected for compile) [DEBUG] saxpath:saxpath:jar:1.0-FCS:compile (selected for compile) [DEBUG] msv:msv:jar:20020414:compile (selected for compile) [DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile (selected for compile) [DEBUG] isorelax:isorelax:jar:20020414:compile (selected for compile) [DEBUG] org.apache.ant:ant:jar:1.7.1:compile (selected for compile) [DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile (selected for compile) [DEBUG] org.apache.geronimo.specs:geronimo-j2ee-deployment_1.1_spec:jar:1.1:compile (selected for compile) [DEBUG] org.codehaus.cargo:cargo-core-api-container:test-jar:tests:1.4.19:test (selected for test) [DEBUG] org.codehaus.cargo:cargo-core-api-util:test-jar:tests:1.4.19:test (selected for test) [DEBUG] dom4j:dom4j:jar:1.4:test (setting artifactScope to: compile) [DEBUG] org.apache.ant:ant:jar:1.7.1:test (setting artifactScope to: compile) [DEBUG] junit:junit:jar:3.8.1:test (selected for test) [DEBUG] jmock:jmock:jar:1.2.0:test (selected for test) [DEBUG] jmock:jmock-cglib:jar:1.2.0:test (selected for test) [DEBUG] cglib:cglib-nodep:jar:2.1_3:test (selected for test) [DEBUG] commons-vfs:commons-vfs:jar:1.0:test (selected for test) [DEBUG] commons-logging:commons-logging:jar:1.0.4:test (setting artifactScope to: compile) [DEBUG] [2.ContainerStartMojo] Resolved artifact and dependencies: [file:/C:/Users/ZDQ/.m2/repository/org/codehaus/cargo/cargo-core-container-tomcat/1.4.19/cargo-core-container-tomcat-1.4.19.jar, file:/C:/Users/ZDQ/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar, file:/C:/Users/ZDQ/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar] [INFO] [2.ContainerStartMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-tomcat:jar:1.4.19 for container tomcat7x [DEBUG] No container log will be generated. Configure the plugin using the <output> element under <container> to generate container logs [DEBUG] Initial deployable values: groupId = [null], artifactId = [null], type = [null], location = [null] [DEBUG] Searching for an artifact that matches [space.zdq:bs:war:null]... [DEBUG] Checking artifact [space.zdq:bs:war:null]... [DEBUG] Computed deployable values: groupId = [space.zdq], artifactId = [bs], classifier = [null], type = [war], location = [D:\Developing\JavaWebLast\workspace\bs\target\bs.war] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.936 s [INFO] Finished at: 2016-05-20T18:09:37+08:00 [INFO] Final Memory: 9M/155M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.19:start (default-cli) on project bs: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.19:start failed: Failed to create deployable with implementation class org.codehaus.cargo.container.tomcat.TomcatWAR for the parameters (container [id = [tomcat7x]], deployable type [war]). InvocationTargetException: Failed to parse Tomcat WAR file in [D:\Developing\JavaWebLast\workspace\bs\target\bs.war]: Failed to find file [D:\Developing\JavaWebLast\workspace\bs\target\bs.war]: D:\Developing\JavaWebLast\workspace\bs\target\bs.war (系统找不到指定的文件。) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.19:start (default-cli) on project bs: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.19:start failed: Failed to create deployable with implementation class org.codehaus.cargo.container.tomcat.TomcatWAR for the parameters (container [id = [tomcat7x]], deployable type [war]). at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.19:start failed: Failed to create deployable with implementation class org.codehaus.cargo.container.tomcat.TomcatWAR for the parameters (container [id = [tomcat7x]], deployable type [war]). at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more Caused by: org.codehaus.cargo.container.ContainerException: Failed to create deployable with implementation class org.codehaus.cargo.container.tomcat.TomcatWAR for the parameters (container [id = [tomcat7x]], deployable type [war]). at org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:155) at org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactory.createImplementation(AbstractIntrospectionGenericHintFactory.java:92) at org.codehaus.cargo.generic.deployable.DefaultDeployableFactory.createDeployable(DefaultDeployableFactory.java:156) at org.codehaus.cargo.maven2.configuration.Deployable.createDeployable(Deployable.java:205) at org.codehaus.cargo.maven2.AbstractCargoMojo.createAutoDeployDeployable(AbstractCargoMojo.java:910) at org.codehaus.cargo.maven2.ContainerStartMojo.addAutoDeployDeployable(ContainerStartMojo.java:111) at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStartMojo.java:56) at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:436) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.codehaus.cargo.generic.deployable.DefaultDeployableFactory.createInstance(DefaultDeployableFactory.java:195) at org.codehaus.cargo.generic.deployable.DefaultDeployableFactory.createInstance(DefaultDeployableFactory.java:46) at org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation(AbstractGenericHintFactory.java:149) ... 29 more Caused by: org.codehaus.cargo.container.ContainerException: Failed to parse Tomcat WAR file in [D:\Developing\JavaWebLast\workspace\bs\target\bs.war] at org.codehaus.cargo.container.tomcat.TomcatWAR.<init>(TomcatWAR.java:54) ... 36 more Caused by: org.codehaus.cargo.util.CargoException: Failed to find file [D:\Developing\JavaWebLast\workspace\bs\target\bs.war] at org.codehaus.cargo.util.DefaultFileHandler.getInputStream(DefaultFileHandler.java:730) at org.codehaus.cargo.module.DefaultJarArchive.getContentAsStream(DefaultJarArchive.java:227) at org.codehaus.cargo.module.DefaultJarArchive.getResource(DefaultJarArchive.java:150) at org.codehaus.cargo.module.webapp.tomcat.TomcatWarArchive.parseTomcatContextXml(TomcatWarArchive.java:86) at org.codehaus.cargo.module.webapp.tomcat.TomcatWarArchive.<init>(TomcatWarArchive.java:58) at org.codehaus.cargo.container.tomcat.TomcatWAR.<init>(TomcatWAR.java:49) ... 36 more Caused by: java.io.FileNotFoundException: D:\Developing\JavaWebLast\workspace\bs\target\bs.war (系统找不到指定的文件。) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at org.codehaus.cargo.util.DefaultFileHandler.getInputStream(DefaultFileHandler.java:726) ... 41 more [ERROR] [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/PluginExecutionException
相关文章推荐
- CentOS7 下面使用systemctl 来管理tomcat服务
- CentOS7 下面使用systemctl 来管理tomcat服务
- tomcat 异常:Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the specified port value of [-1] is invalid
- Tomcat debug 模式
- tomcat管理脚本
- Mac下安装配置Tomcat
- The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决
- The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决
- Mac 上tomcat的安装
- tomcat改utf-8
- tomcat 重新编绎
- linux下jdk,tomcat的安装和配置
- cronolog切割tomcat日志以及日志导出方法
- tomcat多站点配置-window版
- Tomcat配置Jconsole , JvisualVm 监控配置
- tomcat配置
- 在Eclipse中tomcat 内存配置
- tomcat(13)Host和Engine容器
- Tomcat调优总结
- tomcat的connector与container原理分析(二)