You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jacek Laskowski <jl...@codehaus.org> on 2005/07/03 11:39:59 UTC
Provider for javax.xml.transform.TransformerFactory cannot be found
Hi,
I'm executing Ant's style (xslt) task via Maven and am getting 'Provider
for javax.xml.transform.TransformerFactory cannot be found'. Does anyone
know how to work it out?
$ maven -v
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
$ java -version
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
Jacek
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Provider for javax.xml.transform.TransformerFactory cannot be found
Posted by Arnaud HERITIER <ah...@gmail.com>.
you can take a look at :
http://maven.apache.org/faq.html#BadXSLT
or you can try something like that :
<!-- 'Major hack.' Stolen from the Latka plugin.jelly. All of this could
be avoided by putting
xalan into $MAVEN_HOME/lib/endorsed directory in the distribution, but never
mind -->
${systemScope.setProperty('javax.xml.transform.TransformerFactory','
org.apache.xalan.processor.TransformerFactoryImpl')}
<style in="${docsToc}" out="${docsPdf}/project.fo"
style="${plugin.resources}/project2fo.xslt"
force="true">
...
</style>
if you add xalan as dependency..
Arnaud
On 7/3/05, Jacek Laskowski <jl...@codehaus.org> wrote:
>
> Hi,
>
> I'm executing Ant's style (xslt) task via Maven and am getting 'Provider
> for javax.xml.transform.TransformerFactory cannot be found'. Does anyone
> know how to work it out?
>
> $ maven -v
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> $ java -version
> java version "1.4.2_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
>
> Jacek
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>