You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Patrick Brannen <pb...@idevco.com> on 2001/12/07 17:34:59 UTC
struts-example and startup problems
Folks,
Did a lot of searching and couldn't find an answer to this one. I'm running
Struts 1.0 on Tomcat 4.0 on Win2k.
When I startup tomcat, I get the following error from the struts-example
app:
javax.servlet.ServletException: Parsing error processing resource path
/WEB-INF/struts-config.xml
....stacktrace....
----- Root Cause -----
java.lang.IllegalArgumentException: object is not an instance of declaring
class
One thing I notice in my stdout.log is:
resolveEntity('-//Apache Software Foundation//DTD Struts Configuration
1.0//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
Resolving to alternate DTD 'jar:file:/C:/Program Files/Apache Tomcat
4.0/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/struts/resourc
es/struts-config_1_0.dtd'
Now, if I comment out all the global forwards and action mapping specific
forwards, the struts-config.xml loads without error (but, of course, the app
won't work without those forwards).
Any and all help is greatly appreciated by this newbie.
Thanks,
Patrick