Browse Source

Add an example to InstantiationException

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276832 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 21 years ago
parent
commit
4bf7ca1528
2 changed files with 16 additions and 0 deletions
  1. +8
    -0
      docs/faq.html
  2. +8
    -0
      xdocs/faq.xml

+ 8
- 0
docs/faq.html View File

@@ -1129,6 +1129,14 @@ shell-prompt> m4 foo.m4 > foo
A version of this problem happens with jars that are in the classpath A version of this problem happens with jars that are in the classpath
that include an embedded copy of ant classes. that include an embedded copy of ant classes.
An example of this is some copies of weblogic.jar. An example of this is some copies of weblogic.jar.
</p>
<p>
One can check if this is the case by doing (on unix/sh):
<code><pre>
unset CLASSPATH
ant -version
</pre>
</code>
</p> </p>
<p class="faq"> <p class="faq">
<a name="NoClassDefFoundError"></a> <a name="NoClassDefFoundError"></a>


+ 8
- 0
xdocs/faq.xml View File

@@ -808,6 +808,14 @@ shell-prompt> m4 foo.m4 > foo
that include an embedded copy of ant classes. that include an embedded copy of ant classes.
An example of this is some copies of weblogic.jar. An example of this is some copies of weblogic.jar.
</p> </p>
<p>
One can check if this is the case by doing (on unix/sh):
<code><pre>
unset CLASSPATH
ant -version
</pre>
</code>
</p>
</answer> </answer>
</faq> </faq>




Loading…
Cancel
Save