Not work by Xalan ?

"NGUYEN Hong Thai" <[email protected]> Tue, 12 Apr 2005 13:45:06 +0200
Newsgroups gmane.comp.java.enhydra.dods
Organization GETA CLIPS UJF Grenoble
Message-ID <001c01c53f55$12618c40$e82f5881@pchong>
This is a multi-part message in MIME format.

------=_NextPart_000_0019_01C53F65.D5D99360
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,
When I use DODS to generate *.java in doml file (attach). It required xalan=
, i really configure xalan in classpath.
I tried to recompile DODS, but it really so complicate to debug and config =
for generate an other dods.jar.
Log is looked like :

E:\enhydra-enterprise-6.2\multiserver\enhydra\myProjects\wicale>enhydra-ant
Buildfile: build.xml

dods:

init:

generate_data_files:
     [dods] Buildfile: E:\enhydra-enterprise-6.2\multiserver\enhydra\dods\b=
uild
generate.xml

     [dods] dods:copy_doml:


BUILD FAILED

java.lang.NoClassDefFoundError: org/apache/xalan/processor/TransformerFacto=
ryIm
l

        at org.enhydra.dods.xml.XmlUtil.store(Unknown Source)

        at org.enhydra.ant.taskdefs.DomlValidateTask.copyDoml(Unknown Sourc=
e)

        at org.enhydra.ant.taskdefs.DomlValidateTask.execute(Unknown Source)

        at org.apache.tools.ant.Task.perform(Task.java:341)

        at org.apache.tools.ant.Target.execute(Target.java:309)

        at org.apache.tools.ant.Target.performTasks(Target.java:336)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)

        at org.apache.tools.ant.Main.runBuild(Main.java:609)

        at org.apache.tools.ant.Main.start(Main.java:196)

        at org.apache.tools.ant.Main.main(Main.java:235)



Total time: 9 seconds

java.lang.NoClassDefFoundError: org/apache/xalan/processor/TransformerFacto=
ryIm
l

        at org.enhydra.dods.xml.XmlUtil.store(Unknown Source)

        at org.enhydra.ant.taskdefs.DomlValidateTask.copyDoml(Unknown Sourc=
e)

        at org.enhydra.ant.taskdefs.DomlValidateTask.execute(Unknown Source)

        at org.apache.tools.ant.Task.perform(Task.java:341)

        at org.apache.tools.ant.Target.execute(Target.java:309)

        at org.apache.tools.ant.Target.performTasks(Target.java:336)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)

        at org.apache.tools.ant.Main.runBuild(Main.java:609)

        at org.apache.tools.ant.Main.start(Main.java:196)

        at org.apache.tools.ant.Main.main(Main.java:235)

org/apache/xalan/processor/TransformerFactoryImpl


xmlc:

init:

compile_html_files:

compile:

init:

compile:

.... (and more, but it absolutely not work)
Anybody show me the solution ? Thanks alot !

NGUYEN Hong Thai
(M2R. Universite' Joseph Fourier)=20=20
GETA, CLIPS, IMAG-campus, BP53
385, rue de la Bibliothe`que
38041 Grenoble Cedex 9, France
Mel: [email protected]
Tel:  +33.4 - 7651- 4817
Fax: +33.4 - 76-514405/446675
Mobile: +33 (06) 88 54 94 13

------=_NextPart_000_0019_01C53F65.D5D99360
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2737.800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi all,</FONT></DIV>
<DIV><FONT size=3D2>When I use DODS to generate *.java in doml file (attach=
). It=20
required xalan, i really configure xalan in classpath.</FONT></DIV>
<DIV><FONT size=3D2>I tried to recompile DODS, but it really so complicate =
to=20
debug and config for generate an other dods.jar.</FONT></DIV>
<DIV><FONT size=3D2>Log is looked like :</FONT></DIV>
<DIV><FONT color=3D#ff0000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000=20
size=3D2>E:\enhydra-enterprise-6.2\multiserver\enhydra\myProjects\wicale&gt=
;enhydra-ant<BR>Buildfile:=20
build.xml</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000 size=3D2>dods:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000 size=3D2>init:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000 size=3D2>generate_data_files:<BR>&nbsp;&nbsp;&nb=
sp;&nbsp;=20
[dods] Buildfile:=20
E:\enhydra-enterprise-6.2\multiserver\enhydra\dods\build<BR>generate.xml</F=
ONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; [dods]=20
dods:copy_doml:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV><FONT size=3D2>
<DIV><BR><FONT color=3D#ff0000>BUILD FAILED</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>java.lang.NoClassDefFoundError:=20
org/apache/xalan/processor/TransformerFactoryIm<BR>l</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.enhydra.dods.xml.XmlUtil.store(Unknown Source)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.enhydra.ant.taskdefs.DomlValidateTask.copyDoml(Unknown Source)</FONT></=
DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.enhydra.ant.taskdefs.DomlValidateTask.execute(Unknown Source)</FONT></D=
IV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Task.perform(Task.java:341)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Target.execute(Target.java:309)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Project.executeTargets(Project.java:1255)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Main.runBuild(Main.java:609)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Main.start(Main.java:196)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Main.main(Main.java:235)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>Total time: 9 seconds</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>java.lang.NoClassDefFoundError:=20
org/apache/xalan/processor/TransformerFactoryIm<BR>l</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.enhydra.dods.xml.XmlUtil.store(Unknown Source)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.enhydra.ant.taskdefs.DomlValidateTask.copyDoml(Unknown Source)</FONT></=
DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.enhydra.ant.taskdefs.DomlValidateTask.execute(Unknown Source)</FONT></D=
IV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Task.perform(Task.java:341)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Target.execute(Target.java:309)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Project.executeTargets(Project.java:1255)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Main.runBuild(Main.java:609)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Main.start(Main.java:196)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at=20
org.apache.tools.ant.Main.main(Main.java:235)</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT=20
color=3D#ff0000>org/apache/xalan/processor/TransformerFactoryImpl</FONT></D=
IV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><BR><FONT color=3D#ff0000>xmlc:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>init:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>compile_html_files:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>compile:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>init:</FONT></DIV>
<DIV><FONT color=3D#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#ff0000>compile:</FONT></DIV>
<DIV></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>.... (and more, but it absolutely not work)</FONT></DIV>
<DIV><FONT size=3D2>Anybody show me the solution ? Thanks alot !</FONT></DI=
V>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>NGUYEN Hong Thai<BR>(M2R. Universite' Joseph Fourier)&n=
bsp;=20
<BR>GETA, CLIPS, IMAG-campus, BP53<BR>385, rue de la Bibliothe`que<BR>38041=
=20
Grenoble Cedex 9, France<BR>Mel: <A=20
href=3D"mailto:[email protected]">[email protected]</A><BR>Te=
l:&nbsp;=20
+33.4 - 7651- 4817<BR>Fax: +33.4 - 76-514405/446675<BR>Mobile: +33 (06) 88 =
54 94=20
13</FONT></DIV></BODY></HTML>

------=_NextPart_000_0019_01C53F65.D5D99360--