Knowledgebase
Knowledgebase ID# :: 3374Possible Solution for "Parsing error processing resource path jndi: /struts-config.xml"
When deploying an Apache Struts Java web application we were receiving the following exception in the start up log:
Parsing error processing resource path jndi:/server/webapp/WEB-INF/struts-config.xml
Although this could be related to a malformed struts-config.xml asset, it could also be related to a Java class file not being deployed in the correct major version by the Java compiler. For example, we were compiling on a Windows development machine using JDK 1.5 (major version 39.0) but deploying the web app to a Tomcat server on Linux running JDK 1.4 (major version 38.0).
This forum thread could also be helpful for those experiencing the same symptoms but that do not have a JDK compiler/run-time version incompatibility problem. Instead of that thread's solution of changing the form-bean name, trying adding a space between the last attribute value's double quote and the self-closing '/' to close the tab, for example:
<form-bean name="MenuForm" type="com.newwitness.Menubean" />
instead of: <form-bean name="MenuForm" type="com.newwitness.Menubean"/>
