A new tomcat5.5 is installed, and the framework of the project is used. It makes a very simple picture and you want to see the effect. Which one knows why the error occurs when Tomcat is started.
In the past, Tomcat was used many times in projects, and almost every project used filter. I used to work well. Why didn't I cover it this time. First, I suspect that there is a problem with the filter in the framework of the project, so I wrote the simplest filter that does nothing. I found that the error filterstart still occurs, it can be determined immediately that it is definitely a problem in the environment.
My tomcat is newly installed and should not be a mess, so I suspect that the Lib of the project conflicts with Tomcat. After checking, I found that there are two Lib in the project, one is the servlet-api-2.3.jar, the other is the geronimo-j2ee_1.4_spec-1.0.jar. Good guy, there must be a problem with the two, because there is a servlet-api.jar in Tomcat Lib, so the two should be repeated. Restart tomcat after removing the two jar files from deploy.