peterreilly    2004/09/08 02:59:14

  Modified:    docs     faq.html
               xdocs    faq.xml
  Log:
  Add the InstantiationException: org.apache.tools.ant.Main error to the FAQ
  
  Revision  Changes    Path
  1.105     +24 -4     ant/docs/faq.html
  
  Index: faq.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- faq.html  28 Jul 2004 07:41:43 -0000      1.104
  +++ faq.html  8 Sep 2004 09:59:13 -0000       1.105
  @@ -283,10 +283,15 @@
           <code>web-inf</code> or JAR files with a lower-case
           <code>meta-inf</code> directory.
         </a></li>
  -                <li><a href="#NoClassDefFoundError">
  +                <li><a href="#InstantiationException">
     I installed Ant 1.6.x and now get
           <code>Exception in thread "main" java.lang.NoClassDefFoundError:
  - org/apache/tools/ant/launch/Launcher</code>
  +        </code>
  +      
  +      </a></li>
  +                <li><a href="#NoClassDefFoundError">
  +  I installed Ant 1.6.x and now get
  +        <code>java.lang.InstantiationException: 
org.apache.tools.ant.Main</code>
         
         </a></li>
               </ul>
  @@ -1110,10 +1115,25 @@
           section, check the "Allow all upper case files names" box.  The 
META-INF and
           WEB-INF will look correct.</p>
                       <p class="faq">
  -      <a name="NoClassDefFoundError"></a>
  +      <a name="InstantiationException"></a>
         I installed Ant 1.6.x and now get
           <code>Exception in thread "main" java.lang.NoClassDefFoundError:
  - org/apache/tools/ant/launch/Launcher</code>
  +        </code>
  +      
  +    </p>
  +                  <p>
  +          The cause of this is that there is an old version of ant somewhere 
in the
  +          class path or configuration.
  +        </p>
  +                        <p>
  +          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.
  +        </p>
  +                    <p class="faq">
  +      <a name="NoClassDefFoundError"></a>
  +      I installed Ant 1.6.x and now get
  +        <code>java.lang.InstantiationException: 
org.apache.tools.ant.Main</code>
         
       </p>
                     <p>
  
  
  
  1.60      +19 -2     ant/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- faq.xml   28 Jul 2004 07:41:44 -0000      1.59
  +++ faq.xml   8 Sep 2004 09:59:13 -0000       1.60
  @@ -793,10 +793,27 @@
         </answer>
       </faq>
   
  -    <faq id="NoClassDefFoundError">
  +    <faq id="InstantiationException">
         <question>I installed Ant 1.6.x and now get
           <code>Exception in thread "main" java.lang.NoClassDefFoundError:
  - org/apache/tools/ant/launch/Launcher</code>
  +        </code>
  +      </question>
  +      <answer>
  +        <p>
  +          The cause of this is that there is an old version of ant somewhere 
in the
  +          class path or configuration.
  +        </p>
  +        <p>
  +          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.
  +        </p>
  +      </answer>
  +    </faq>
  +
  +    <faq id="NoClassDefFoundError">
  +      <question>I installed Ant 1.6.x and now get
  +        <code>java.lang.InstantiationException: 
org.apache.tools.ant.Main</code>
         </question>
         <answer>
           <p>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to