; >> >> jar:
>> >> >> >> [jar] Building MANIFEST-only jar:
>> >> >> >> /home/miriyala/Desktop/Roseindia/build/jar/Roseindia.jar
>> >> >> >>
>> >> >> >> run:
>> >> >> >&
t;> >> [java] Exception in thread "main"
> >> java.lang.NoClassDefFoundError:
> >> >> >> Roseindia
> >> >> >> [java] Caused by: java.lang.ClassNotFoundException: Roseindia
> >> >> >> [java]
at
>> >> java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> >> >> [java] at
>> java.security.AccessController.doPrivileged(Native
>> >> >> Method)
>> >> >> [java] at
>>
net.URLClassLoader.findClass(URLClassLoader.java:188)
> >> >> [java] at
> >> java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >> >> [java] at
> >> >> su
adClass(Launcher.java:301)
>> >> [java] at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> >> [java] at
>> >> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>> >> [java] Could not find the main class:
uncher$AppClassLoader.loadClass(Launcher.java:301)
> >> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> >> [java] at
> >> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> >> [java] Could not find the main class:
(ClassLoader.java:320)
>> [java] Could not find the main class: Roseindia. Program will exit.
>> [java] Java Result: 1
>>
>> main:
>> [echo] main target completed..
>>
>> BUILD SUCCESSFUL
>> Total time: 0 secon
[java] Could not find the main class: Roseindia. Program will exit.
> [java] Java Result: 1
>
> main:
> [echo] main target completed..
>
> BUILD SUCCESSFUL
> Total time: 0 seconds
>
> Here is the build.xml file http://www.nabble.com/file/p25835171/build.xml
> bu
ain target completed..
BUILD SUCCESSFUL
Total time: 0 seconds
Here is the build.xml file http://www.nabble.com/file/p25835171/build.xml
build.xml
thanks in advance
--
View this message in context:
http://www.nabble.com/Unable-to-run-simple-java-file-using-Ant-tp25835171p25835171.html
Sent from the A