Found some details for the JSPNote bug

Starting to get a weird error in IntelliJ and can't determine why I'm getting it. It seems to have something to do with me adding files in the WEB-INF/lib directory of IntelliJ. Don't see any workaround. If there are libraries in that directory, IntelliJ throws the JSPNote thing.

+
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
+

When I removed the libraries from the WEB-INF/lib directory, everything built just fine. This is a nasty one.

0

Wait... I appear to be totally off... its when I have the j2ee.jar file in the WEB-INF/lib directory. If I yank just that specific .jar file everything seems to be happy. Since I don't really seem to need it in there (just got in there because it was part of the Hibernate library), I will list that as a workaround.

Once I yanked that out, all was well. I'm happy again :)

0

请先登录再写评论。