Introduction of Project Package Import exception: Import Javax.servlet.annotation.WebFilter;

Source: Internet
Author: User
Introduction of Project Package Import exception: Import Javax.servlet.annotation.WebFilter; (2013-02-21 16:38:00)
Category: java
This morning to import a project, with the tomcat7.0, but I am tomcat6.0, the results of the project import is very depressed to find some of the class hit the Red Fork, in a look, import Javax.servlet.annotation.WebFilter can not be introduced, find the class, found that the problem is less import SERVLET-API package, and then went to the Internet to download a package, but after the import, there is a title above the class is still not found, Search data on the internet found that the version of the imported package is low, to SERVLET-API 3.0 of the package, so I finally depressed and go online to find bags, but can not find Servlet-api 3.0 download, depressed, and finally only download a tomcat7, Take it out of the servlet-api bag, alas, record it, lest you forget it.

Introduction of Project Package Import exception: Import Javax.servlet.annotation.WebFilter;

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.