解决The type 'HttpServletResponse' is not API (restriction on required library 'D:\tomcat\lib\servl...

在eclipse中依次点击选择:
Windows -> Preferences -> Java -> Compiler -> Errors/Warnings ->
Deprecated and restricted API -> Forbidden reference (access rules): -> change to warning

你可能感兴趣的:(解决The type 'HttpServletResponse' is not API (restriction on required library 'D:\tomcat\lib\servl...)