https://issues.apache.org/bugzilla/show_bug.cgi?id=54461
--- Comment #6 from Christopher Schultz <ch...@christopherschultz.net> --- (In reply to comment #5) > That's unrelated to the documentation I reported. I mentioned that I was > trying to compile with Java 8 for context, but I suppose that could have > just made it more confusing. It looks like lots of your problems are coming from the use of Java 8: that's what I'm trying to point out. If you use Java 1.8, it looks like the JSP compiler will auto-downgrade to 1.5 and all your labmdas and stuff will fail to compile. > It boils down to this: I wanted to compile JSPs with Java 8. [...] > However, when I started getting errors from the compiler that were related > to my lambda expression in my JSP, I (again, incorrectly) made the > assumption that the Ant compiler wasn't using the the JDK compiler like I > thought it would and that Ant didn't support Java 8. In actuality, my new > problem was related to a bug with SMAPs and Java 8, and I had to add > suppressSmap = true to my JSP configuration. Try explicitly using "1.7" as the target VM and see if all your problems go away. We will certainly fix the documentation, but you still need to be able to compile. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org