Both NetBeans & Struts-Console show the file is valid.

On Wed, 19 Dec 2001 10:21:29 -0000
"Jon.Ridgway" <[EMAIL PROTECTED]> wrote:

> Hi Timothy,
> 
> It looks like you may have a problem with your struts-config.xml file.
Try> putting it through an xml validator, like XML Spy or download the
Struts> console app (search archive for URL) and validate it that way.
> 
> Jon.
> 
> -----Original Message-----
> From: Timothy Reaves [mailto:[EMAIL PROTECTED]] 
> Sent: 19 December 2001 01:09
> To: Struts
> Subject: Exception with struts
> 
>       Hello all.  I'm trying to learn Struts.  I'm reading Profesional
> JSP,
> which has a chapter on Struts.  I have built their example app, and
> deployed it.  The main page comes up properly ( for a CD store), but
when> I do anything else, I get the following.  Any ideas?
> 
> type Exception report
> 
> message Internal Server Error
> 
> description The server encountered an internal error (Internal Server
> Error) that prevented it from fulfilling this request.
> 
> exception
> 
> javax.servlet.ServletException: Parsing error processing resource path
> /WEB-INF/struts-config.xml    at
>
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:130>
6)      at> org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
>       at javax.servlet.GenericServlet.init(GenericServlet.java)
>       at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java)
>       at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java)
> 
> ...
> root cause
> 
> java.lang.IllegalArgumentException: object is not an instance of
declaring> class        at
> org.apache.struts.digester.Digester.startElement(Digester.java:501)   at
>
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:3>
29)     at>
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)   at>
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVali>
dator.java:1214)...> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:  
<mailto:[EMAIL PROTECTED]>> For additional
commands, e-mail: <mailto:[EMAIL PROTECTED]>> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to