【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”
[INFO] Scanning for projects...[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.somesky.proj:project:war:0.0.1-SNAPSHOT
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[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] ------------------------------------------------------------------------
[INFO] Building project Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- cargo-maven2-plugin:1.0:start (default-cli) @ project ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.763s
[INFO] Finished at: Tue Sep 17 10:23:11 CST 2013
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.0:start (default-cli) on project project: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.0:start failed: Cannot create configuration. There's no registered configuration for the parameters (container [id = [Tomcat6x], type = [installed]], configuration type [standalone]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? -> [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/PluginExecutionException
引用来自“heavan2010”的答案
引用来自“傅星星”的评论
引用来自“heavan2010”的答案
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.1.3</version>
<configuration>
<container>
<containerId>tomcat7x</containerId>
<home>/home/qfguo/application/apache-tomcat-7.0.47</home>
</container>
<configuration>
<type>existing</type>
<home>/home/qfguo/application/apache-tomcat-7.0.47</home>
<properties>
<cargo.host>localhost</cargo.host>
<cargo.servlet.port>8888</cargo.servlet.port>
</properties>
</configuration>
</configuration>
</plugin>
也报和楼主一样的错误啊