On 26/01/2015 18:17, Romain Manni-Bucau wrote: > Hi guys, > > since I upgraded to 8.0.18 I get:
from what? That code hasn't changed 8.0.17 -> 8.0.18 (I don't think) but it did change in a previous version. Mark > > SEVERE: Servlet.service() for servlet [jsp] in context with path > [/test] threw exception [javax.el.ELException: The class > [java.util.Iterator] must be public, non-abstract and not an > interface] with root cause > javax.el.ELException: The class [java.util.Iterator] must be public, > non-abstract and not an interface > at javax.el.ImportHandler.findClass(ImportHandler.java:171) > at javax.el.ImportHandler.importClass(ImportHandler.java:111) > at > org.apache.jasper.runtime.PageContextImpl.getELContext(PageContextImpl.java:954) > at org.apache.jsp.setup_jsp._jspx_meth_c_005fset_005f0(setup_jsp.java:261) > at org.apache.jsp.setup_jsp._jspService(setup_jsp.java:136) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) > at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) > > with > http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/moviefun/src/main/webapp/setup.jsp > (this line: for (Iterator<Movie> iterator = movies.iterator(); > iterator.hasNext(); )) > > Is it expected? not sure I get why interfaces are forbidden in > particular with <%@ page import="java.util.Iterator" %> > > I saw indirectly https://java.net/jira/browse/JSP-44 but this is not > the cause, any pointer? > > will a flag be introduced for existing apps? > > Romain Manni-Bucau > @rmannibucau > http://www.tomitribe.com > http://rmannibucau.wordpress.com > https://github.com/rmannibucau > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org