[jdom-interest] manifest missing main-class

Jason Hunter jhunter at servlets.com
Tue Feb 10 16:46:05 PST 2004


Per the CHANGES.txt log:

Changed the MANIFEST.MF to no longer list Xerces in the Class-Path 
entry, nor to have JDOMAbout as its Main-Class.  This helps applet 
deployment, but does remove the ability to do the cool "java -jar jdom.jar".

-jh-

Nirmal Rajarathnam wrote:

> Hi,
> 
>     I just downloaded the latest jdom (beta 10 RC1) and found that the 
> manifest file is missing the Main-Class definition and hence the 
> following command line execution fails.
> 
>  
> 
> *$ java -jar jdom.jar*
> 
> *Failed to load Main-Class manifest attribute from*
> 
> *jdom.jar***
> 
>  
> 
> I fixed it by just adding that definition in the 
> package/META-INF/MANIFEST.MF file. I am attaching the file for your 
> reference. The same problem persists in jdom beta 9 too. I just want to 
> make sure this is fixed before the official release.
> 
>  
> 
> Thanks,
> 
> Nirmal R.
> 



More information about the jdom-interest mailing list