Original article link: transmitter >>>>>>>>>>>>>>>>.
The first time you use IntelliJ IDEA I have a problem "can not resolve symbol servlet", the reason for this problem is the lack of servlet-api.jar package caused.
Solution:
-
Check tomcat package is configured servlet-api.jar
steps: run-> edit Configuration-> tomcat server- > Unnamed-> configure2. Right Item -> open module setting, as shown in FIG.
3.libraries-> + -> Java-> select the path (Tomcat installation directory lib-> tomcat-api.jar)
After completing the no can not resolve symbol servlet tips mistake