A
Ajay Singh Tomar
Hello All,
I have created a Jar file for my project with *.classes, lib folder and
Manifest file.
I can run the Jar file successfully to get desired output from the same
directory, I have created the Jar file from.
But when I copy the Jar file to different folder or different PC, the
program runs but crashes at JDOM exception
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jdom/JDOMException at XMLMerger.main(XMLMerger.java:47)
Could anyone tell me what could be the problem?
Here is the MANIFEST.MF file contents.
----------------------------------------------------------------------------
-----
Manifest-Version: 1.0
Main-Class: XMLMerger
Class-Path: lib/jaxen-full.jar lib/jdom.jar lib/saxpath.jar
lib/xercesImpl.jar lib/xmlParserAPIs.jar
----------------------------------------------------------------------------
-----
Thanks in anticipation.
Regards,
Ajay
I have created a Jar file for my project with *.classes, lib folder and
Manifest file.
I can run the Jar file successfully to get desired output from the same
directory, I have created the Jar file from.
But when I copy the Jar file to different folder or different PC, the
program runs but crashes at JDOM exception
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jdom/JDOMException at XMLMerger.main(XMLMerger.java:47)
Could anyone tell me what could be the problem?
Here is the MANIFEST.MF file contents.
----------------------------------------------------------------------------
-----
Manifest-Version: 1.0
Main-Class: XMLMerger
Class-Path: lib/jaxen-full.jar lib/jdom.jar lib/saxpath.jar
lib/xercesImpl.jar lib/xmlParserAPIs.jar
----------------------------------------------------------------------------
-----
Thanks in anticipation.
Regards,
Ajay