Hi, you must assign the variable XERCESJAR to your project (right click,
properties, java build path, add variable), and check the order must be
before the source folder of your project.
Enrique.
- Original Message -
From: Steve Hupert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 20, 2002 1:38 PM
Subject: Struts 1.1b-1 - Parsing error processing resource path
/WEB-INF/struts-config.xml
I am attempting to create the struts-blank application from
jakarta-struts-1.1b1-lib.zip using Websphere Studio Application Developer
4.0.2. When I attempt to start the application server (The Websphere v4
Test Server) I receive the following error:
java.lang.NullPointerException
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:1763)
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:1785)
at org.apache.commons.digester.Digester.startElement(Digester.java:942)
at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1214)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1182)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.apache.commons.digester.Digester.parse(Digester.java:1206)
at
org.apache.struts.action.ActionServlet.initApplicationConfig(ActionServlet.j
ava:774)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:417)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
.
.
.
at
com.ibm.etools.websphere.tools.runner.api.ServerRunner$1.run(ServerRunner.ja
va)
[ERROR] ActionServlet - -Parsing error processing resource path
/WEB-INF/struts-config.xml java.lang.NullPointerException
I noticed other people have posted messages for similar problems and they
were usually related to problems with the XML parser. By default, WSAD
4.0
is using Xerces 3.2.1. I have also attempted to add crimson.jar and
xalan.jar from Suns fall xml release to WEB-INF/lib. This resulted in a
similar error.
I have been using the environment described above (WSAD 4.0, Xerces 3.2.1)
successfully to develop software using Struts 1.02.
If there is any additional information I can provide, please let me know.
Thanks in advance for any help on this problem.
--
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]