2 comments
Comment actions Permalink

Hello Aryeh,

Are you using JDK 1.3.x as target JDK?

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"



"Aryeh Sivan" <jiveadmin@intellij.net> wrote in message
news:8244018.1034080458792.JavaMail.jrun@is.intellij.net...

Hi,

>

I am trying out IntelliJ and have created a very simple jsp:

>

<html><body>
<%
for(int i = 0; i < 10; i++)
{
%>
Loop count = <%=i%>
<%
}
%>
</body></html>

>

When trying to validate the file I receive the following message:

>

Information: 1 error
Information: 0 warnings
C:\Program Files\Apache Tomcat 4.0\webapps\Aryeh\First.jsp
Error: line (0) Unable to compile class for JSPNote:

sun.tools.javac.Main has been deprecated.
>
C:\IntelliJ\bin\..\system\jasper_tempe75f5164\First$jsp.java:85:
Incompatible type for method. Explicit cast needed to convert
java.lang.Throwable to java.lang.Exception.

if (pageContext != null)

pageContext.handlePageException(t);
>
^

1 error, 1 warning

>

I am using build# 655 with JDK 1.4.1 and Tomcat 4.0.4

>
>


0
Comment actions Permalink

Hi Eugene,

My target JDK as defined in the project properties is JDK 1.4.1. I also verified that %JAVA_HOME% points to 1.4.1.

Do I have to use JDK 1.3.X?

Aryeh

0

Please sign in to leave a comment.