Java Programming - Resourse is out of sync with the file system
hi
i am using eclipse 3.2..i have add external Archives(net.jTank) to my project..when i run my project the project is working properly..when i make the same project as a jar file the eclipse is showing an error message which is jar creation failed..when i click the details button it is showing that Resourse is out of sync with the file system.pleas help me to solve this problem
hi
thanks for the reply.i had made the jar
file now another problem arise is that when i run
the jar file it is showing
xception in thread "main"
java.lang.NoClassDefFoundError:
com/tanksoftware/gallmage/GallMage2
Message was edited by:
mebimathew
that tanksoftware library you've used isn't on the classpath when you run the jar
iHi, Im using eclipse, and I am using the jtank.jar jarbundler.jar and edtftpj.jar libraries. They are added as libraries, but when I export the file as a jar and go to run the jar itself, I get:
"Exception in threads "main" java.langNoClassDefFoundError: com/tanksoftware/gallmage/GallDesk
The program works when I run it from within the IDE. Any help would be greatly appreciated. Thanks.
Message was edited by:
mebimathew
hi
i have add all the jar files into my project by build path and i created the jar file of my project with these jar.while creating the jar files i have mentioned the manifest as
Main-Class: com.tanksoftware.gallmage.GallDesk.when i run the jar file it is showing as Exception in thread "main" java.lang.NoClassDefFoundError: com/tanksoftware/gallmage/GallDesk.please help.thanks in advance
are you sure that there is a class GallDesk in the package com.tanksoftware.gallmage ?
are you sure that in the class GallDesk there is a main method:
public static void main (String[] args) ?beside, you have to be sure that there is no whitespace after the "Main-class: com.tanksoftware.gallmage.GallDesk"
hi
i am using eclipse 3.2.i have created an application.in my application i have used 3 jar files which i download frm the net,my application is working perfactly through eclipse.when i made a jar file of that,it is showing me an error which is Exception in threads "main" java.langNoClassDefFoundError: com/tanksoftware/gallmage/GallMage2.while creating the jar file i have mentioned the correct main class..i am struggling wiht this problem for one week.please help me to solve this problem
Message was edited by:
mebimathew