ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sachit aggarwal" <>
Subject How to call ant from java
Date Tue, 01 Mar 2005 12:24:34 GMT
          i am  facing   some problems in calling ant classes directly  from 
java code i.e. my code build succesfully but when i try to execute it throws 
an exception:

Exception in thread "main" java.lang.NoClassDefFoundError: test (wrong name: 
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at Source)
        at Source)
        at$100(Unknown Source)
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

i have attached  my code with this file.

HP LaserJet 1010. Preferred 
Printing Solutions.

View raw message