Introduction of Project Package Import exception: Import Javax.servlet.annotation.WebFilter; (2013-02-21 16:38:00)
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;