Cannot Resolve Method [JSP]


Screen Shot 2558-10-04 at 8.21.27 PM.pngScreen Shot 2558-10-04 at 8.27.28 PM.png

Why intellij cannot resolve these mthods that shown in the 1st picture ??
Even, when deploy and run all these methods work just fine ??

Comment actions Permalink

Add your application server libraries to the module dependencies with Provided scope: .

For Tomcat you need TOMCAT_HOME\lib\jsp-api.jar file.

Comment actions Permalink

I also experience this issue. The provided solution above is not informative at all. Can you provide more sound solution please?

Comment actions Permalink

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.

Comment actions Permalink

I also experienced this issue. I solved adding the following maven dependecy in the pom.xml (following the tip of Serge Baranov)


Please sign in to leave a comment.