struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmk...@earthlink.net (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 <stevendwilkinson@acm.org> writes:

    Steven> "David M. Karr" wrote:
    David> 
    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> 
    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
to
    David> build it after setting those, I get the following (excerpts):
    David> 
    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> 
    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
how
    David> exactly do I make it available to the build script?  Is it just supposed to
be
    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> http://jakarta.apache.org/ant/manual/index.html.  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.

Thanks.

-- 
===================================================================
David M. Karr          ; Best Consulting
dmkarr@earthlink.net   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)


--
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