I have this problem with my Struts. This java.lang.NullPointers alwasy 
telling me that i couldnt find the MessageResources files. I am running 
Tomcat 4.0.6 and Struts 1.1 . Is that a problem with the versioning 
issues? or what could be the cause?... any ideas?

Excpetion 
=========
index.jsp [-1:-1] java.lang.ExceptionInInitializerError: 
java.lang.NullPointerException
        at 
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:577)
        at 
org.apache.struts.taglib.html.BaseHandlerTag.<clinit>(BaseHandlerTag.java:108)
        at java.lang.Class.forName0(Native Method
        at java.lang.Thread.run(Thread.java:479)


Struct-config.xml
==============
....................
    <!-- message resources -->
    <message-resources
        parameter="ApplicationResources"
        null="false" />
</struts-config>


web.xml
=-======
....
....
   <param-name>application</param-name>
      <param-value>ApplicationResources</param-value>
    </init-param>
..........
.........
  <!-- The Welcome File List -->
  <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>
</web-app>

Reply via email to