struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David M. Karr)
Subject Re: Building Struts 1.0.1rc1: Missing xalan
Date Wed, 02 Jan 2002 16:45:39 GMT
>>>>> "Steven" == Steven D Wilkinson <> writes:

    Steven> "David M. Karr" wrote:
    David> I'd like to experiment with some ideas for modifying the "html:radio" tag.
    David> Before I make changes, I'm first trying to build Struts1.0.1rc1 OOTB.
    David> The "build.xml" script talks about setting "jdbc20ext.jar" and "servlet.jar",
    David> which I've done (pointing to my Tomcat4.0.1b2 distribution), but when I try
    David> build it after setting those, I get the following (excerpts):
    David> DEPRECATED - xslp processor is deprecated. Use trax or xalan instead.
    David> java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory
    David> java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor
    David> So, apparently it needs Xalan too.  Was the information about this accidently
    David> left out of the "build.xml" prolog?  What version of Xalan is required, and
    David> exactly do I make it available to the build script?  Is it just supposed to
    David> in the CLASSPATH (I sort of doubt this)?

    Steven> David,
    Steven> I assume you are using Ant1.4.1?

    Steven> FYI, the <style> task within Ant1.4.1 assumes that you have the external
    Steven> library already in your classpath.  See:
    Steven>  The solution is to
    Steven> either add Xalan to your classpath or put it in your $ANT/lib
    Steven> directory.  Don't add it to your build.xml classpath, because you don't
    Steven> need it to compile, you only need it for ant.  I posted something about
    Steven> this a while back on this mail list.

I'm using Ant 1.4 (9/3/2001).  When I copied my "xalan.jar" from the jaxp1.1
distribution into $ANT_HOME/lib, the build completed without error.


David M. Karr          ; Best Consulting   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message