The causes of the problem are as follows:
The reason is that when Tomcat is added in eclipse, eclipse will automatically store the Tomcat configuration file. When the Tomcat server starts in eclipse, it will replace the original Tomcat configuration file with its stored Tomcat configuration file.
resolvent:
1. Set ecplise to cancel the automatic publishing function
- in ecplise, select window preferences server launching to cancel automatically publishing Wen starting servers and click OK to finish OL> operation
2. In ecplise project, there is a server project, a Tomcat VX. X server at localhost config, in which there are configuration files to modify the files directly. When Tomcat is republished, it will use the configuration files here to cover the files in conf under Tomcat
Read More:
- The web project removal server reports an error, and the web project in eclipse cannot be automatically deployed to Tomcat
- Specify the configuration file when the spring boot command starts
- Could not publish server configuration for Tomcat v8.5 server at localhost
- Tomcat web compression configuration
- Configuration error in mybatis configuration file
- Idea can’t find the solution of XML configuration by running project prompt through external Tomcat
- Modify the tomcat configuration in docker, causing javaagent to report agent library failed to init instrument
- When MyEclipse starts tomcat, the console doesn’t jump out
- Error configuration process and project file may be invalid appear in cmake compilation
- Vs configuration of OpenGL development environment: configuration of glfw library and glad Library
- Git command line configuration and configuration file to solve clone error libressl_ connect: SSL_ ERROR_ SYSCALL in connection to github. com:443
- When Tomcat starts: IOException while loading persistent sessions: java.io.EOFException Solutions for
- Idea2020.2 encountered pom.xml The problem of file error report in Maven plug-in tomcat7
- Simple configuration of glfw + glad in vs2015 OpenGL development environment
- Interrupted function call accept failed when idea starts Tomcat
- Error in mybatis configuration file namespace
- Idea starts Tomcat console with garbled code but no error
- Failed to execute goal org.apache.tomcat . maven:tomcat7-maven-plugin : 2.2: run solution
- Tomcat starts front-end engineering error [How to Solve]
- Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project