You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andrew Timberlake <an...@ddd.co.za> on 2003/05/07 09:48:07 UTC

Problem building under JDK1.3.1

I have been using Cocoon CVS versions for a while now under JDK1.4.1
with no problem.
Unfortunately I have to downgrade to 1.3.1 due to a problem with one of
the libraries our application has to use.
I have tried to build both the CVS HEAD and Milestone 1 under JDK1.3.1
and am getting the error below.
I have tried placing the xml jars everywhere from $JAVA_HOME/jre/lib to
$JAVA_HOME/jre/lib/endorsed to explicitly setting them in the ant
CLASSPATH and nothing seems to be working ???

Please will someone who is in the know let me know what I might be doing
wrong?

Thanks

Apache Cocoon Build System
--------------------------
Buildfile: build.xml

prepare:
+-----------------------------------------------------------+
             Apache Cocoon 2.1-M1 [1999-2003]
+-----------------------------------------------------------+
 Building with Apache Ant version 1.6alpha compiled on February 12 2003
 using build file /usr/local/java/tmp/cocoon-2.1-M1/build.xml
 Compiling with debug on, optimize on, deprecation off
+--------------------| W A R N I N G |----------------------+
   This build is targeted for use with JVM 1.3
 Using this build on a virtual machine other than the one
   it is targeted for may result in runtime errors.
+-----------------------------------------------------------+

BUILD FAILED
javax.xml.transform.TransformerFactoryConfigurationError:
java.lang.ClassNotFoundException:
org.apache.xalan.processor.TransformerFactoryImpl
        at
javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
        at XConfToolTask.execute(Unknown Source)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:227)
        at org.apache.tools.ant.Task.perform(Task.java:388)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1389)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1263)
        at org.apache.tools.ant.Main.runBuild(Main.java:611)
        at org.apache.tools.ant.Main.start(Main.java:198)
        at org.apache.tools.ant.Main.main(Main.java:245)

Total time: 7 seconds
javax.xml.transform.TransformerFactoryConfigurationError:
java.lang.ClassNotFoundException:
org.apache.xalan.processor.TransformerFactoryImpl
        at
javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
        at XConfToolTask.execute(Unknown Source)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:227)
        at org.apache.tools.ant.Task.perform(Task.java:388)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1389)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1263)
        at org.apache.tools.ant.Main.runBuild(Main.java:611)
        at org.apache.tools.ant.Main.start(Main.java:198)
        at org.apache.tools.ant.Main.main(Main.java:245)
java.lang.ClassNotFoundException:
org.apache.xalan.processor.TransformerFactoryImpl
	
-- 
Andrew Timberlake
Digital Design Development
http://www.ddd.co.za
mailto:andrew@ddd.co.za
011 705 1737
082 415 8283

"If debugging is the process of removing bugs, 
then programming must be the process of putting them in."