PropertyNotFoundException when migrating EE5 Struts 1.1 application to JBoss EAP 7
Issue
- We are migrating EE 5 application using Apache Struts 1.1 to JBoss EAP 7 (EE 7) and getting a PropertyNotFoundException
Having issue while reading object value in jsp using JSTL
ERROR [io.undertow.request] (default task-36) UT005023: Exception handling request to /Myapp/success.jsp: org.apache.jasper.JasperException: javax.el.PropertyNotFoundException: Either 'myId' is not a public static field of the class 'com.redhat.examples.struts.MyFormBean' or field is inacessable
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:473)
In the JSP:
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
My ID: <c:out value="${myFormBean.myId}" />
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.1
- Apache Struts 1.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.