struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: problem with building struts.
Date Sat, 20 Jul 2002 21:47:58 GMT
Do you have xalan.jar in your $ANT_HOME/lib directory, or on your
classpath?  It's needed to convert XML files into the TLDs for Struts tag
libraries, as well as for creating the documentation.

On Sat, 20 Jul 2002, A Stephen wrote:

> Date: Sat, 20 Jul 2002 14:07:32 -0700
> From: A Stephen <stephen_a100@hotmail.com>
> Reply-To: Struts Developers List <struts-dev@jakarta.apache.org>
> To: struts-dev@jakarta.apache.org
> Subject: problem with building struts.
>
> Greetings,
> I just got the latest version and tried to do a build and i get the following error.
> i was able to build the project without any problem two days back.
> Thanks in advance.
> -S
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
> D:\Projects\jakarta-struts>%ANT_HOME%\bin\ant
> Buildfile: build.xml
>
> init:
>      [echo] --------- jakarta-struts 1.1-b2-dev ---------
>      [echo]
>      [echo] java.class.path = C:\java\sdks\jdk1.3\lib\tools.jar;C:\java\sdks\ant1.4.1\lib\junit.jar;C:\java\sdks\ant1.4.
> 1\lib\jaxp.jar;C:\java\sdks\ant1.4.1\lib\crimson.jar;C:\java\sdks\ant1.4.1\lib\ant.jar;C:\java\sdks\jdk1.3\bin;C:\java\s
> dks\jdk1.3\lib\tools.jar
>      [echo] java.home = C:\java\sdks\jdk1.3\jre
>      [echo] user.home = C:\Documents and Settings\A. Stephen.FRODO
>
> prepare.library:
>
> compile.library:
>      [echo] C:/Tomcat4.0/common/lib/servlet.jar
>     [style] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead.
>     [style] java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XalanLiaison
>     [style]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>     [style]     at java.security.AccessController.doPrivileged(Native Method)
>     [style]     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>     [style]     at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
>     [style]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
>     [style]     at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>     [style]     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>     [style]     at java.lang.Class.forName0(Native Method)
>     [style]     at java.lang.Class.forName(Class.java:120)
>     [style]     at org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:290)
>     [style]     at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:276)
>     [style]     at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:406)
>     [style]     at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:141)
>     [style]     at org.apache.tools.ant.Task.perform(Task.java:217)
>     [style]     at org.apache.tools.ant.Target.execute(Target.java:184)
>     [style]     at org.apache.tools.ant.Target.performTasks(Target.java:202)
>     [style]     at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>     [style]     at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>     [style]     at org.apache.tools.ant.Main.runBuild(Main.java:454)
>     [style]     at org.apache.tools.ant.Main.start(Main.java:153)
>     [style]     at org.apache.tools.ant.Main.main(Main.java:176)
>     [style] java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XslpLiaison
>     [style]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>     [style]     at java.security.AccessController.doPrivileged(Native Method)
>     [style]     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>     [style]     at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
>     [style]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
>     [style]     at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>     [style]     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>     [style]     at java.lang.Class.forName0(Native Method)
>     [style]     at java.lang.Class.forName(Class.java:120)
>     [style]     at org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:290)
>     [style]     at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:272)
>     [style]     at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:403)
>     [style]     at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:141)
>     [style]     at org.apache.tools.ant.Task.perform(Task.java:217)
>     [style]     at org.apache.tools.ant.Target.execute(Target.java:184)
>     [style]     at org.apache.tools.ant.Target.performTasks(Target.java:202)
>     [style]     at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>     [style]     at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>     [style]     at org.apache.tools.ant.Main.runBuild(Main.java:454)
>     [style]     at org.apache.tools.ant.Main.start(Main.java:153)
>     [style]     at org.apache.tools.ant.Main.main(Main.java:176)
>
> BUILD FAILED
>
> D:\Projects\jakarta-struts\build.xml:300: javax.xml.transform.TransformerFactoryConfigurationError:
Provider org.apache.
> xalan.processor.TransformerFactoryImpl not found
>
> Total time: 1 second
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>


--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message