The XSLT processor needs to be available to Maven at startup.  I think that Maven may ignore your system classpath.  Try dropping the libs into the maven lib/endorsed directory.
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ajay Koranne
Sent: Thursday, December 04, 2003 10:26 AM
To: [EMAIL PROTECTED]
Subject: RE: [displaytag-user] Another maven issue

Thanks for the reply Andy,
 
I am not using jdk1.4. I am using jdk1.3.1. My client is using Websphere 4x, which uses jdk1.3. Hence the jdk1.3.1.
 
I had to change the project dependencies to include xalan 2.5.1, xml-apis-2.0.2 and xercesImpl-2.4.0. I see them downloaded from ibiblio.They are used for the compilation. I am able to compile all my classes. No problem there.
 
Also, I made sure that all those 3 along with jaxp.jar exists in my $ANT_HOME/lib directory. Also, I added all the jars to the system classpath.
Looks like maven is not looking for xalan.jar in the classpath or $ANT_HOME/lib.
 
Let me know, if you have any more questions.
Thanks in advance,
--ajay

Andy Pruitt <[EMAIL PROTECTED]> wrote:
It looks like you don't have Xalan in your environment, or maybe an old version?  Can you confirm that it is on your cp via javap?
What JDK are you using? org.apache.xalan.processor.TransformerFactoryImpl ships standard with JDK 1.4.
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ajay Koranne
Sent: Thursday, December 04, 2003 8:03 AM
To: [EMAIL PROTECTED]
Subject: [displaytag-user] Another maven issue

Hi,
 
I got pass the dependencies issue (thanks Matt). Now when I run maven, I get the following error
 
convert-dtd:
    [echo] creating jsp 1.1 version of the tld
          [xslt] Processing E:\development\opensource\displaytag2\src\tld\displaytag-12.tld to E:\development\opensource\displaytag2\target\tld\displaytag-11.tld
    [xslt] Loading stylesheet E:\development\opensource\displaytag2\src\xslt\convert-tld.xslt
BUILD FAILED
File...... file:/e:/development/opensource/displaytag2/
Element... xslt
Line...... 42
Column.... 60
Provider org.apache.xalan.processor.TransformerFactoryImpl not found
Total time: 43 seconds
Finished at: Thu Dec 04 06:55:09 MST 2003
I don't like to have system Classpath set. Still, I set xalan in system classpath. It didn't work either.
Can any one shed some light?
Any help is much appreciated.
Thanks,
 
--ajay


Do you Yahoo!?
Free Pop-Up Blocker - Get it now


Ajay S. Koranne, ceo
SUSWATI TECHNOLOGIES INC.
14325 W. Warren Drive,
Lakewood, CO 80228-5939
Tel/Fax: (303) 936-5585
Cell: (303) 249-6864


Do you Yahoo!?
Free Pop-Up Blocker - Get it now

Reply via email to