Revision: 4381
Author: jas
...@gmail.com
Date: Sun Feb 27 18:44:36 2011
Log: Edited wiki page RunningCaja through web user interface.
http://code.google.com/p/google-caja/source/detail?r=4381 Modified:
/wiki/RunningCaja.wiki
=======================================
--- /wiki/RunningCaja.wiki Sun Feb 27 18:35:11 2011
+++ /wiki/RunningCaja.wiki Sun Feb 27 18:44:36 2011
@@ -78,7 +78,8 @@
=== Problems running Ant ===
-If you see the following error when running ant, ant is using a built in
and obsolete version of xerces rather than the more recent one included
with Caja. {{{
+If you see the following error when running ant, ant is using a built in
and obsolete version of xerces rather than the more recent one included
with Caja.
+{{{
com.google.caja.SomethingWidgyHappenedError: Missing DOM implementation.
Is Xerces on the classpath? (DOMImplementationRegistry.getDOMImplementation
returned null.)
at com.google.caja.parser.html.DomParser.makeDocument(DomParser.java:174)
at com.google.caja.parser.html.DomParser.makeDocument(DomParser.java:187)
@@ -86,11 +87,13 @@
...
}}}
-Try setting your classpath before running ant or run ant like this: {{{
+Try setting your classpath before running ant or run ant like this:
+{{{
CLASSPATH=third_party/java/xerces/xercesImpl.jar ant
}}}
-If you see the following error when running ant, try upgrading to Ant 1.7:
{{{
+If you see the following error when running ant, try upgrading to Ant 1.7:
+{{{
google-caja/build.xml:144: java.lang.NoClassDefFoundError:
org/apache/tools/ant/types/ResourceCollection
at
org.apache.tools.ant.IntrospectionHelper$Creator.create(IntrospectionHelper .java:1166)
at
org.apache.tools.ant.UnknownElement.handleChild(UnknownElement.java:549)