[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster-devel] Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/TransformerFactoryConfigurationError



Hi,

we just discovered some problems using xmlBlaster with java version
"1.3.1_04".

Building the dist works fine, but starting brings a NoClassDefFoundError:
$ java -jar xmlBlasterDist.jar
[14:34]
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/xml/transform/TransformerFactoryConfigurationError
        at org.xmlBlaster.Main.<init>(Main.java:105)
        at org.xmlBlaster.Main.main(Main.java:493)

The CLASSPATH is "".

We found out that this class is in xml-apis.jar which is in lib/ant and
therefore is available for building, but not for running.

Adding this jar to the CLASSPATH makes xmlBlaster running.

Under java 1.4 this class belongs to the JRE and is not missing.

How shall we fix this?

regards

Heinrich