diff --git a/docs/faq.html b/docs/faq.html
index cca8afa92..7af6c815b 100644
--- a/docs/faq.html
+++ b/docs/faq.html
@@ -283,10 +283,15 @@
web-inf
or JAR files with a lower-case
meta-inf
directory.
-
Exception in thread "main" java.lang.NoClassDefFoundError:
- org/apache/tools/ant/launch/Launcher
+
+
+ java.lang.InstantiationException: org.apache.tools.ant.Main
-
+
I installed Ant 1.6.x and now get
Exception in thread "main" java.lang.NoClassDefFoundError:
- org/apache/tools/ant/launch/Launcher
+
+
+
+ The cause of this is that there is an old version of ant somewhere in the + class path or configuration. +
++ A version of this problem happens with jars that are in the classpath + that include an embedded copy of ant classes. + An example of this is some copies of weblogic.jar. +
+
+
+ I installed Ant 1.6.x and now get
+ java.lang.InstantiationException: org.apache.tools.ant.Main
diff --git a/xdocs/faq.xml b/xdocs/faq.xml
index 1aabcd268..8ee018856 100644
--- a/xdocs/faq.xml
+++ b/xdocs/faq.xml
@@ -793,10 +793,27 @@ shell-prompt> m4 foo.m4 > foo
-
+ The cause of this is that there is an old version of ant somewhere in the
+ class path or configuration.
+
+ A version of this problem happens with jars that are in the classpath
+ that include an embedded copy of ant classes.
+ An example of this is some copies of weblogic.jar.
+
Exception in thread "main" java.lang.NoClassDefFoundError:
- org/apache/tools/ant/launch/Launcher
+
+ java.lang.InstantiationException: org.apache.tools.ant.Main