struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gernot.pfing...@gmx.at
Subject Installation struts-example.war 1.1-b2
Date Fri, 13 Sep 2002 17:13:38 GMT
I tried to install the struts-example (version 1.1-b2) war-file, but after 
starting the app server I got always following exceptions:

09/13 13:18:29 error (JRun) Could not pre-load servlet: action
[javax.servlet.ServletException: Could not instantiate
org.apache.struts.action.ActionServlet]
[1]java.lang.NullPointerException
	at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:558)
	at
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1153)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:449)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	...
	
and
java.lang.ClassNotFoundException:
org.apache.struts.util.PropertyMessageResourcesFactory
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
	at
org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:193)
	at
org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:169)
	at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:557)
	at org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:140)
	at
org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:169)
	at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:557)
	at
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1153)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:449)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	...
	
The class org.apache.struts.util.PropertyMessageResourcesFactory IS in the
struts.jar and struts.jar
IS in the web.inf/lib directory and this directory IS in the app servers
classpath.
Later I additionally put the above class in the web.inf/classes directory,
but without success.

What's wrong?

I tried installing with JRun 3.1 and the Sun JDK 1.3.1 and with IBM
WebSphere AEs 4.0.2 
and IBM JDK 1.3.0.

Thanks,
Gernot

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


--
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