Error filterstart error occurs when Tomcat is started.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.