"Yang Zhonghua (Dr)" wrote: > Hi, > > I have recently installed Tomcat 4.1.18 and xml-axis. > > The classpath I set is: > > C:\>echo %classpath% > %CLASSPATH%;.;G:\projects\xml-axis-10\lib\axis.jar;G:\projects\xml-axis-10\lib\j > axrpc.jar;G:\projects\xml-axis-10\lib\saaj.jar;G:\projects\xml-axis-10\lib\commo > ns-logging.jar;G:\projects\xml-axis-10\lib\commons-discovery.jar;G:\projects\xml > -axis-10\lib\wsdl4j.jar;G:\projects\Xerces-J-bin.2.3.0\xerces-2_3_0\xercesImpl.j > ar;G:\projects\Xerces-J-bin.2.3.0\xerces-2_3_0\xml-apis.jar;G:\projects\Xerces-J > -bin.2.3.0\xerces-2_3_0\xmlParserAPIs.jar;G:\projects\Xerces-J-bin.2.3.0\xerces- > 2_3_0\xercesSample.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servl > et.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\jasper-runtime.jar;
If you look at tomcatdir/common/endorsed you should see a jar file for your xml parser, similar to what you see in your xerces-2.3.0 directory. Replace the jar file in common/endorsed with what is in xerces and don't include the xerces directory in your classpath.
