JasperException with OS X DP8?

Is anyone else getting this exception with DP8 while compiling a JSP page in IDEA?

org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
error: An exception has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
1 error, 1 warning

This never happened in DP6, and unless there is a workaround this is a major show stopper since I this means I literally can't develop on the mac with IDEA. I tried this with the standard compiler and jikes... same result in both.

Thanks
R

0

I had the same problem earlier. It doesn't appear to be with OSX at all. I had this problem because I had J2EE.jar in the WEB-INF/lib directory of my web application and apparently there is some disconnect in the validation process about which version to use.

0
Avatar
Permanently deleted user

Nope, can't be because I don't even have a lib directory in WEB-INF of my development setup. So that can't be it.

0
Avatar
Permanently deleted user

Did a bit more digging and this is DEFINITELY an OS X issue.

If I click this URL first:

http://localhost:8080/rex/index.jsp

Then click a link from there to a page like this:

http://localhost:8080/rex/edit-project-action.do

I get the exception.

If I stop and start Tomcat, and just hit this URL directly:

http://localhost:8080/rex/edit-project-action.do

everything works fine.

Something is screwed up in here, and I can't reproduce this on windows or linux.

R

0

请先登录再写评论。