Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.4.26.v20200117:run (default-cli) on project ssm-mybatis-plus: Failure


修改一下端口就好了,不要用80端口。

<plugin>
          <groupId>org.eclipse.jetty</groupId>
          <!--嵌入式Jetty的Maven插件-->
          <artifactId>jetty-maven-plugin</artifactId>
          <version>9.4.26.v20200117</version>
          <configuration>
            <!--應用啟動后加載webapp網頁與資源-->
            <webAppSourceDirectory>src/main/webapp</webAppSourceDirectory>
            <httpConnector>
              <!--應用端口號,默認8080端口-->
              <port>8089</port>
            </httpConnector>
          </configuration>
</plugin>


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 Java報錯:Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.4.26.v20200117:run (default-cli) on project ssm-mybatis-plus: Failure maven啟動tomcat7:run報錯:Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run (default-cli) on project travel: Could not start Tomcat Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:generate (default-cli) on project : resource does not exist 兼容問題:Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project sms-c Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project test: The packaging for this project did not assign a file to the build artifact -> Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:deploy (default-cli) on project Resource: Cannot invoke Tomcat manager: Connection refused: connect -> [Help 1] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-cli) on project standalone-pom: Unable to parse configuration of 3: mojo org.apache.maven.plugins: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project kircp-js-plan-resource: The packaging for this project did not assign a file to the bu
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM