Following additions to the tomcat/conf/web.xml fixed the problem. We probably need to make a note of this on the jspwiki docs (min requirement tomcat 8.5; + ... ) ?
<init-param> <param-name>compilerSourceVM</param-name> <param-value>1.8</param-value> </init-param> <init-param> <param-name>compilerTargetVM</param-name> <param-value>1.8</param-value> </init-param> dirk On Wed, Mar 4, 2020 at 10:38 PM Dirk Frederickx <dirk.frederi...@gmail.com> wrote: > I'm getting following error after installing the latest version. It occurs > when trying to edit a page. Seems a problem with the latest version of the > EditorManager class. Any clue? > > (running tomcat 8.5.37; with jdk 1.8) > > > >>>> > > org.apache.jasper.JasperException: Unable to compile class for JSP: > > An error occurred at line: [72] in the jsp file: [/Edit.jsp] > References to interface static methods are allowed only at source level 1.8 > or above > > 69: String edit = request.getParameter("edit"); > 70: String author = TextUtil.replaceEntities( findParam( pageContext, > "author" ) ); > 71: String changenote = findParam( pageContext, "changenote" ); > 72: String text = EditorManager.getEditedText( pageContext ); > 73: String link = TextUtil.replaceEntities( findParam( pageContext, > "link") ); > 74: String spamhash = findParam( pageContext, > SpamFilter.getHashFieldName(request) ); > 75: String captcha = (String)session.getAttribute("captcha"); > > > > dirk > >