Cannot Resolve Method [JSP]
Answered


Why intellij cannot resolve these mthods that shown in the 1st picture ??
Even, when deploy and run all these methods work just fine ??
Please sign in to leave a comment.
Add your application server libraries to the module dependencies with Provided scope: http://www.jetbrains.com/idea/webhelp/configuring-module-dependencies-and-libraries.html .
For Tomcat you need TOMCAT_HOME\lib\jsp-api.jar file.
I also experience this issue. The provided solution above is not informative at all. Can you provide more sound solution please?
I finally managed to fix it by deleting the .Intellij setting (in my case, C:\Users\username\.IntellijIdea2017.2) and i have to again set the jdk and application server (tomcat) once again just like in the previous setting. This is a very annoying way to solve since i cannot find any other solution at all.
I also experienced this issue. I solved adding the following maven dependecy in the pom.xml (following the tip of Serge Baranov)