jsf 2 - ELException - Property not found - JSF 2.1 -


our application running jsf (myfaces, trinidad) 1.2 on websphere 8.5. upgrading jsf 2.1. i'm getting below exception jsf 2.1

jspx code: #{loginbackingbean.switchskin}
java code: public string switchskin() {...} - method.

caused by: javax.el.elexception: /header.jspx: property 'switchskin' not found on type com.loginbackingbean @ org.apache.myfaces.view.facelets.compiler.attributeinstruction.write(attributeinstruction.java:55) @ org.apache.myfaces.view.facelets.compiler.uiinstructions.encodebegin(uiinstructions.java:46)

000001ba servletwrappe e com.ibm.ws.webcontainer.servlet.servletwrapper service srve0014e: uncaught service() exception root cause faces: javax.servlet.servletexception: /header.jspx: property 'switchskin' not found on type com.loginbackingbean @ javax.faces.webapp.facesservlet.service(facesservlet.java:229) @ com.ibm.ws.webcontainer.servlet.servletwrapper.service(servletwrapper.java:1230)

note: same exception not occurring jsf 1.2 , 2.0.
please me resolve problem.

i've updated facelets 1.x 2.x haven't updated xmlns , due got errors. solved problem correcting xmlns jstl.
http://java.sun.com/jstl/core
to:
http://java.sun.com/jsp/jstl/core


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -