reason:
Two Tomcat servers are started at the same time, or the Tomcat server port is occupied.
Solution:
Shut down one of the Tomcat servers
Modify the port number in tomcat7
<!--tomcat7 Plugin --> <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.2</version> <configuration> <port>8888</port> </configuration> </plugin>
Similar Posts:
- Maven: How to uses tomcat8 Maven plugin
- How does IntelliJ idea use Maven Tomcat plug to run web projects
- Maven warnning: ‘build.plugins.plugin.version’ is missing [How to Solve]
- [Solved] SpringBoot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-res
- [Solved] Spring Boot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
- [Solved] Spring Start Error: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project gulimall-coupon: There are test failures. Please refer to D:\m1\0613\mall-coup
- Springboot 2.4 package error, missing web.xml
- Springboot always reports an error when importing JSP dependencies
- When deploying Tomcat service, resolve the cannot invoke Tomcat manager exception
- How to Solve Error: spring-boot-maven-plugin not found