报了错,怎么解决哇?
右键项目->Properties->Java Build Path->Libraries->Add External JARs
导入javax.servlet-api-4.0.1.jar这个包就好了