今天使用jfinal的controller进行request请求方法的判断 method = getRequest().getMethod();
一直报错
HttpServletRequest refers to the missing type String
It is indirectly referenced from required
新建工程时 选的dynamic web,
解决:configure build path -> libraries ->Add Libary
->Server Runtime->Tomcat
来源:oschina
链接:https://my.oschina.net/u/26712/blog/407250