  | |  | Exception while Creating Multiple files using Redirect | Exception while Creating Multiple files using Redirect 2003-02-14 - By Singh, Anoop
Hi,
I am getting one exception as below, while creating multiple output files using redirect extension on xalan2.4.1. I have JDK1.4 , but I have not included that in the classpath. Am I missing something.
My classpath is like this C:\Xalan\xalan-j_2_4_1\bin\xalan.jar;C:\Xalan\xalan-j_2_4_1\bin\xml-apis .jar;C:\Xalan\xalan-j_2_4_1\bin\xercesImpl.jar;C:\Xalan\xalan-j_2_4_1\bi n\bsf.jar;C:\Xalan\xalan-j_2_4_1\bin\xsltc.jar;C:\Xalan\xalan-j_2_4_1\bi n\runtime.jar;C:\Xalan\xalan-j_2_4_1\bin\BCEL.jar
C:\Sample>java org.apache.xalan.xslt.Process -in update.xml -xsl redirect.xsl java.lang.ClassNotFoundException: org/apache/xml/dtm/ref/IncrementalSAXSource_Xerces at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:2 69)
Question2: Also why Xalan has not provided any interface except command Line for the Process class?
Any help will be greatly appreciated.!!
Regards, Anoop
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6389.0"> <TITLE>Exception while Creating Multiple files using Redirect</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">I am getting one exception as below, while creating multiple output files using redirect extension on xalan2.4.1. < /FONT>
<BR><FONT SIZE=2 FACE="Arial">I have JDK1.4 , but I have not included that in the classpath. Am I missing something.</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">My classpath is like this</FONT>
<BR><FONT SIZE=2 FACE="Arial">C:\Xalan\xalan-j_2_4_1\bin\xalan.jar;C:\Xalan \xalan-j_2_4_1\bin\xml-apis.jar;C:\Xalan\xalan-j_2_4_1\bin\xercesImpl.jar;C: \Xalan\xalan-j_2_4_1\bin\bsf.jar;C:\Xalan\xalan-j_2_4_1\bin\xsltc.jar;C:\Xalan \xalan-j_2_4_1\bin\runtime.jar;C:\Xalan\xalan-j_2_4_1\bin\BCEL.jar </FONT></P>
<P><FONT SIZE=2 FACE="Arial">C:\Sample>java org.apache.xalan.xslt.Process -in update.xml -xsl redirect.xsl</FONT>
<BR><FONT SIZE=2 FACE="Arial">java.lang.ClassNotFoundException: org/apache/xml /dtm/ref/IncrementalSAXSource_Xerces</FONT>
<BR><FONT SIZE=2 FACE="Arial"> at java.lang.Class.forName0(Native Method)</FONT>
<BR><FONT SIZE=2 FACE="Arial"> at java.lang.Class.forName(Class.java:140)</FONT>
<BR><FONT SIZE=2 FACE="Arial"> at org .apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:269)</FONT> </P>
<P><B><FONT SIZE=2 FACE="Arial">Question2:</FONT></B> <FONT SIZE=2 FACE="Arial" >Also why Xalan has not provided any interface except command Line for the Process class?</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">Any help will be greatly appreciated.!!</FONT> </P>
<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">Regards,</FONT>
<BR><FONT COLOR="#FF9900" SIZE=2 FACE="Arial">Anoop</FONT> </P> <BR> <BR> <BR>
</BODY> </HTML>
|
|
 |