You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Husted <hu...@apache.org> on 2001/09/23 14:54:18 UTC

Re: Cannot find message resources under key org.apache.struts.action.MESSAGE

This is usually a XML parsing issue. Either there are too many parsers,
or not enough. 
First, check to see which parsers are available to your container and
application, these can be specified in several of places: 

The CLASSPATH environment variable
The ext/lib folder under your JAVA_HOME
The WEB_INF/lib folder under your application's root
Any kind of lib folder your container may use
Tomcat 4 does not expose an XML parser to web applications. Thus, you'll
need to do one of the following:

* Stick an XML parser into the $CATALINA_HOME/lib directory to make it
available to all web apps, or
* Stick an XML parser into the /WEB-INF/lib directory of your web app.

Many field engineers have reported having the best results when exposing
Xerces 1.3 or later to their container.

Note that the WARs shipped with Struts do *not* have parsers with them.


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/


aswin nair wrote:
> 
> hiii ,
>  I am using Tomcat4.0 -rc 2 to make struts work. well i get the error message
> javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE , when i try running struts-blank or any other default implementation of struts. In short i was not able to make even a single struts program work, If you could tell me the possible reasons, i would be really thankful..
> aswin
> 
>