• Post Reply Bookmark Topic Watch Topic
  • New Topic

error while runing the jar file.  RSS feed

 
Vikas Sahu
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am facing one problem.
I am trying to exeute application jar.
through command java -jar cleint.jar
In this jar I am ussing one class ProcessingFailureException this class is in process.jar file. I have set the process.jar in classpath. but when I am running the command

set classpath=%classpath%;c:\process.jar
java -jar client.jar

The foolowing exception is coming

C:\client>java -jar snmsnbi.jar
Exception in thread "main" java.lang.NoClassDefFoundError: globaldefs/ProcessingFailureException


Can any body give the clue ?

Waiting -
Vikas Kumar Sahu


 
Vikas Sahu
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends.

I did self study and I got the answer that I forgot to specify specified jar file
in the MANIFEST.MF file.
I added te entry and its working filne.

Regards -
Vikas Kumar Sahu
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!