使用Jenkins构建项目时会抛出以下错误:
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.2.4:redeploy (default-cli) on project xxxxx: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.2.4:redeploy failed: Cannot create configuration. There's no registered configuration for the parameters (container [id = [tomcat8x], type = [remote]], configuration type [runtime]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it? -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.2.4:redeploy (default-cli) on project xxxxxx: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.2.4:redeploy failed: Cannot create configuration. There's no registered configuration for the parameters (container [id = [tomcat8x], type = [remote]], configuration type [runtime]). Actually there are no valid types registered for this configuration. Maybe you've made a mistake spelling it?
插件声明如下图所示:
预先感谢您提供任何帮助,我可以帮我解决这个问题。