You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jon Stevens <jo...@latchkey.com> on 2001/09/18 06:34:41 UTC

Another build problem...

What the heck?

I have all the stuff configured properly (with the right versions) in the
build.properties. I'm using Ant 1.4.

-jon

build-main:
    [style] DEPRECATED - xslp processor is deprecated. Use trax or xalan
instead
.
    [style] java.lang.NoClassDefFoundError:
org/apache/xalan/xslt/XSLTProcessorF
actory
    [style]     at 
org.apache.tools.ant.taskdefs.optional.XalanLiaison.<init>(Xa
lanLiaison.java:82)
    [style]     at java.lang.Class.newInstance0(Native Method)
    [style]     at java.lang.Class.newInstance(Class.java:237)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XS
LTProcess.java:278)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProc
ess.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:164)
    [style]     at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [style]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [style]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:256)
    [style]     at org.apache.tools.ant.Task.perform(Task.java:217)
    [style]     at org.apache.tools.ant.Target.execute(Target.java:164)
    [style]     at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [style]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [style]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:256)
    [style]     at org.apache.tools.ant.Task.perform(Task.java:217)
    [style]     at org.apache.tools.ant.Target.execute(Target.java:164)
    [style]     at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [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.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor
    [style]     at 
org.apache.tools.ant.taskdefs.optional.XslpLiaison.<init>(Xsl
pLiaison.java:77)
    [style]     at java.lang.Class.newInstance0(Native Method)
    [style]     at java.lang.Class.newInstance(Class.java:237)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XS
LTProcess.java:274)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProc
ess.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:164)
    [style]     at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [style]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [style]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:256)
    [style]     at org.apache.tools.ant.Task.perform(Task.java:217)
    [style]     at org.apache.tools.ant.Target.execute(Target.java:164)
    [style]     at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [style]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [style]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:256)
    [style]     at org.apache.tools.ant.Task.perform(Task.java:217)
    [style]     at org.apache.tools.ant.Target.execute(Target.java:164)
    [style]     at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [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

/Users/jon/checkout/jakarta-tomcat-4.0/webapps/tomcat-docs/build.xml:80:
javax.x
ml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.pro
cessor.TransformerFactoryImpl not found

Total time: 34 seconds


Re: Another build problem...

Posted by Remy Maucherat <re...@apache.org>.
----- Original Message -----
From: "Jon Stevens" <jo...@latchkey.com>
To: "tomcat-dev" <to...@jakarta.apache.org>
Sent: Monday, September 17, 2001 9:51 PM
Subject: Re: Another build problem...


> on 9/17/01 9:40 PM, "Remy Maucherat" <re...@apache.org> wrote:
>
> > Put Xalan 2 (from the JAXP package) in you $ANT_HOME/lib. That should
fix
> > it.
> >
> > Remy
>
> That's cute. Where is that documented?

In BUILDING.txt, but it's hidden:

(2) Download and Install the JAXP/1.1 Reference Implementation

* Download a binary distribution of JAXP 1.1 (Final Version) from:

    http://java.sun.com/xml/download.html

* Unpack the binary distribution into a convenient location so that the
  JAXP/1.1 release resides in its own directory (conventionally named
  "jaxp-1.1".  For the purposes of the remainder of this document, the
  symbolic name "${jaxp.home}" is used to refer to the full pathname of
  the release directory.

* Make the "xalan.jar" file of this distribution available to Ant (so that
  it can be used with the <style> tag) by copying it to "${ant.home}/lib".

Remy


Re: Another build problem...

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 17 Sep 2001, Jon Stevens wrote:

> Date: Mon, 17 Sep 2001 21:51:27 -0700
> From: Jon Stevens <jo...@latchkey.com>
> Reply-To: tomcat-dev@jakarta.apache.org
> To: tomcat-dev <to...@jakarta.apache.org>
> Subject: Re: Another build problem...
>
> on 9/17/01 9:40 PM, "Remy Maucherat" <re...@apache.org> wrote:
>
> > Put Xalan 2 (from the JAXP package) in you $ANT_HOME/lib. That should fix
> > it.
> >
> > Remy
>
> That's cute. Where is that documented?
>
> -jon
>
>

BUILDING.txt, section (2), last bullet point.

Craig



Re: Another build problem...

Posted by Jon Stevens <jo...@latchkey.com>.
on 9/17/01 9:40 PM, "Remy Maucherat" <re...@apache.org> wrote:

> Put Xalan 2 (from the JAXP package) in you $ANT_HOME/lib. That should fix
> it.
> 
> Remy

That's cute. Where is that documented?

-jon


Re: Another build problem...

Posted by Remy Maucherat <re...@apache.org>.
> What the heck?
>
> I have all the stuff configured properly (with the right versions) in the
> build.properties. I'm using Ant 1.4.

Put Xalan 2 (from the JAXP package) in you $ANT_HOME/lib. That should fix
it.

Remy