JSP special variable parsing is not working in IntelliJ 9.0: out.println Follow
Hi. I have IntelliJ thinking that "out.println" is not a valid method. "println" is in red.
Is this a configuration issue or IntelliJ issue?
Also, if someone knows how to make IntelliJ understand that println is a valid method in JSP, that would be appretiated.
Please sign in to leave a comment.
That should work, there's a "println()" method on "javax.servlet.jsp.JspWriter".
Do you have the "jsp-api" jar configured as a library?
If you're using maven, you'd need something like:
----------------------
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
----------------------
Hope that helps,
-tt
Solved this by including (root where tomcat installed)/lib in my library as a jar directory.