[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-de

穆俊名
2023-12-01

问题描述:

        创建一个springmvc项目做测试用,使用了maven原型archetype的maven-webapp创建,

部署项目时直接在maven窗口:选择了develop:控制台报错:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project Spring_Transaction: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]

百度靠谱的回答:https://blog.csdn.net/lbh199466/article/details/101209293

没看懂!

换了一种部署项目方式:使用tomcat模板创建了一个tomcat部署,在工具栏按钮中编译和启动项目:启动成功!没有解决问题,只是避免了上述问题!

 类似资料: