title: Unable to compile the class for JSP
body: <p>We are facing the below exception when I click on View button to see the user details :</p>
  
  <pre><code>2017-06-30 19:23:52,831 ERROR [com.myapp.jsp] - &lt;Unable to compile class for JSP: 
  
  An error occurred at line: 53 in the jsp file: /WEB-INF/jsps/ViewUserDetails.jsp
  apache cannot be resolved or is not a field
  50:                     &lt;/myapphtml:myappRow&gt;
  51:                                         
  52:                     &lt;myapphtml:myappRow align="left" label="userdetails.field.label.orgs"&gt;
  53:                         &lt;logic:iterate name="userDetails" property="Orgs" id="org"&gt;         
  54:                             &amp;nbsp;&lt;bean:write name="org" property="name" /&gt;&lt;br&gt;
  55:                         &lt;/logic:iterate&gt;
  56:                     &lt;/myapphtml:myappRow&gt;
  
  
  Stacktrace:&gt;
  org.apache.jasper.JasperException: Unable to compile class for JSP: 
  
  An error occurred at line: 53 in the jsp file: /WEB-INF/jsps/ViewUserDetails.jsp
  apache cannot be resolved or is not a field
  50:                     &lt;/myapphtml:myappRow&gt;
  51:                                         
  52:                     &lt;myapphtml:myappRow align="left" label="userdetails.field.label.orgs"&gt;
  53:                         &lt;logic:iterate name="userDetails" property="mappedOrgs" id="org"&gt;           
  54:                             &amp;nbsp;&lt;bean:write name="org" property="name" /&gt;&lt;br&gt;
  55:                         &lt;/logic:iterate&gt;
  56:                     &lt;/myapphtml:myappRow&gt;
  
  
  Stacktrace:
      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:490)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)
      at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
      at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
      at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
      at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at at com.myapp.tools.auth.client.AuthFilter.doFilter(AuthFilter.java:512)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at com.myapp.tools.auth.client.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:90)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  at java.lang.Thread.run(Unknown Source)
  </code></pre>
  
  <p>This happens only in the combination of RHEL 7.x and Tomcat combination.
  I am not able to reproduce this issue in combination other then this.</p>
  
  <p>Attaching the <strong>ViewUserDetails.jsp</strong></p>
  
  <pre><code>&lt;%@ page import="org.apache.struts.Globals" %&gt;
  &lt;%@ page import="com.myapp.tools.api.impl.User" %&gt;
  
  &lt;%@ include file="include/commonDef.jspf" %&gt;
  
  &lt;tiles:insert definition="myapp.csd.office.layout.default"&gt;
  
      &lt;tiles:put name="header" type="String"&gt;
          &lt;myapphtml:myappPageHeaderTab headerImage="images/default/icn_user.gif" headerText="form.page.title.user_details"/&gt;
      &lt;/tiles:put&gt;
  
      &lt;tiles:put name="content" type="String"&gt;
          &lt;myapphtml:myappBlock&gt;
              &lt;myapphtml:myappMessage
                      genErrorKey="&lt;%= myappGlobals.GENERAL_ERROR %&gt;"
                      valErrorKey="&lt;%= Globals.ERROR_KEY %&gt;"
                      genErrorHeading="MC.General.genError"
                      valErrorHeading="MC.General.genError"
                      headingBundle="myappBASETAG"/&gt;
          &lt;/myapphtml:myappBlock&gt;
  
          &lt;strutshtml:form action="/processUserList.do" method="POST"&gt;
              &lt;input type="hidden" name="action" value="" /&gt;
  
  
  
                      &lt;myapphtml:myappRow align="left" label="userdetails.field.label.orgs"&gt;
                          &lt;logic:iterate name="userDetails" property="Orgs" id="org"&gt;         
                              &amp;nbsp;&lt;bean:write name="org" property="name" /&gt;&lt;br&gt;
                          &lt;/logic:iterate&gt;
                      &lt;/myapphtml:myappRow&gt;
  
  
  
              &lt;myapphtml:myappButtonRow formname="UserDetailsForm"&gt;
                  &lt;myapphtml:myappButton action="cancel" name="form.button.label.cancel" buttonStyle="button_gt" /&gt;           
              &lt;/myapphtml:myappButtonRow&gt;         
          &lt;/strutshtml:form&gt;
  
      &lt;/tiles:put&gt;
  
  &lt;/tiles:insert&gt;
  </code></pre>