Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:deploy (default-cli)

后端 未结 5 2123
旧时难觅i
旧时难觅i 2020-12-30 05:00

i am trying to do mvn tomcat:deploy and i came across with the error

 [ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1         


        
5条回答
  •  一向
    一向 (楼主)
    2020-12-30 05:30

    A solution which worked in my case is:

    1. Go to the module having Main class.
    2. Right click on pom.xml under this module.
    3. Select "Run Maven" -> "UpdateSnapshots"

提交回复
热议问题