• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

need help to config classpath

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At first i just use tomcat_3.2.1 throw a big string which come with xml content & tags to IE browser. Right now i need to transform xml to html on server side. I download xerces-1_3_1, sax2, xalan-j_2_0_1,...and copy *.jar into %tomcat_home%/lib, also set classpath. my code passed compile but got run time err:
-java.lang.NoSuchMethodError
-at org.apache.xpath.patterns.NodeTest.execute(NodeTest.java 403)
-...
from some documetns i knew my classpath setting may not correct, i try to adjust it but dosen't work. following is my classpath:
C:\WINNT\system32;
C:\WINNT;
C:\WINNT\System32\Wbem;
c:\;
c:\dell;
C:\WINNT\Java\Classes\RxAssistant.zip;
C:\jdk1.3\bin;
C:\xml\xerces-1_3_1\xerces.jar;
C:\xml\xalan-j_2_0_1\bin\xalan.jar;
C:\xml\xalan-j_2_0_1\bin\bsf.jar;
C:\jdk1.3\lib\tools.jar;
C:\xml\sax2\sax2.jar;
C:\xml\Fop-0.17.0\fop.jar;
C:\xml\cocoon-1.8.2\bin\cocoon.jar;
%TOMCAT_HOME%\lib\jasper.jar;
%TOMCAT_HOME%\lib\servlet.jar;
%TOMCAT_HOME%\lib\cocoon.jar;
%TOMCAT_HOME%\lib\sax2.jar;
%TOMCAT_HOME%\lib\xalan_1_2_D02.jar;
%TOMCAT_HOME%\lib\w3c.jar;
%TOMCAT_HOME%\lib\xml.jar;
%TOMCAT_HOME%\lib\fop_0_15_0.jar;
%TOMCAT_HOME%\classes;
C:\Tomcat\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF\classes;
%TOMCAT_HOME%\lib\parser.jar;
I would appreciate any help, thanks in advance.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic