struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jw z" <jw_g...@hotmail.com>
Subject struts example loading error
Date Mon, 02 Sep 2002 06:24:44 GMT
Hi, I am new to struts. I have a problem here. I installed Tomcat 4.0.4 on 
my Windows 98. It works fine. Then I downloaded struts binary code version 
1.1 beta2 and try to test struts-example.war. I followed the documentation 
to copy the struts-example.war file to Tomecat/webapps directory and restart 
it. It gives me the excaption error:

2002-09-02 02:21:53 StandardContext[/struts-example]: Servlet 
/struts-example threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource path 
/WEB-INF/struts-config.xml
	at 
org.apache.struts.action.ActionServlet.initApplicationConfig(ActionServlet.java, 
Compiled Code)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java, Compiled 
Code)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:918)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
	at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java, 
Compiled Code)
	at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java, 
Compiled Code)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java, 
Compiled Code)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
	at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java, 
Compiled Code)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java, 
Compiled Code)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java, 
Compiled Code)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
	at org.apache.catalina.core.StandardService.start(StandardService.java, 
Compiled Code)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java, 
Compiled Code)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled 
Code)

I also downloaded the Xerces1.4.4 and JAXP1.0.1 and set the CLASSPATH. Do I 
miss something here? Please help!!



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message