I have project I'm trying to adapt for WebSphere App Dev Server 8.5, but JSPX page fails during translation phase.
We use Spring MVC/Security, Apache Tiles, JSPX pages. It works fine on Tomcat, Jetty but not on WS 8.5 for windows.
I prepared archive with MINIMAL necessary code/config/files as maven build (attached to post).
When I try to access it fails with error:
com.ibm.ws.jsp.translator.JspTranslationException: JSPG0227E: Exception caught while translating /WEB-INF/views/dashboard.jspx: jsp.error.attribute.invalidPrefix fn at com.ibm.ws.jsp.translator.visitor.validator.FVVisitor.visit(FVVisitor.java:56) at org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:132) at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:203) at org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:245) at org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:59) at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:203) at com.ibm.ws.jsp.translator.visitor.validator.ELValidator.validateFunctions(ELValidator.java:526)
Accessing to standard JSTL library tag fails on page. The same error happens when code is commented and 'custom tag' is accessed inside:
I can't understand if that is WebSphere web container bug or Is that issue related to some error in my project ?
Can someone try and confirm error ? Custom tag library/class is accessible and specified in web.xml
I'm using WS Dev 8.5 for windows x64, Windows 7 x64.
WS is installed with JDK 1.7 and switched to using it. Code is compiled with IBM JDK 1.7 as well.
Also it's possible to run project with Jetty from \web folder by commands:
> mvn jetty:run
JSPX Page works fine in Jetty, Tomcat
So that is quite strange to get error in WebSphere. I searched google, WS and DevNetwork sites but couldn't find similar error and solution for that.