validating jsp problem
I am getting the following error when validating jsp files:
---
C:\cvs.local\its.branch-r3\clients\webadmin\webapp\WEB-INF\jsp\account\positionCreate.jsp
Error: line (0) Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.
The compiler has run out of memory. Consider
using the "-J-mx<number>" command line option to increase the
maximum heap size.
---
I saw this problem with 856 also, when the jdk went from 1.4.1 to 1.4.2.
Also, I cannot find any info on "-J-mx<number>". Anybody seen that
before. (BTW, I have my compiler memory set to 512m).
Please sign in to leave a comment.
Well, it can't be due to 856 or 859, as I just downgraded to 833 and get
the same error. I see some posts on this problem via google, but no
clear reason or solution.
Barry Kaplan wrote:
Well, I found some docs on the '-J', and tried doing what the message said:
-
Information: 3 errors]]>
Information: 0 warnings
Error: javac: invalid flag: -J-Xmx512m
Information: Usage: javac
Information: where possible options include:
...
-
So now, for whatever reason, I can no longer build my project with jsp
validation and have no idea why. I'm very confused.
The MX parameter available for javac in Project Settings is not considered when running jasper for the purpose of JSP validation.
However, since jasper itself invokes javac, I see no reasons why the parameter should not be considered.
Will be fixed in the next build. Thanks.
--
Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"
"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message news:beuif3$kq2$1@is.intellij.net...
>
>
>
>