aspose file tools*
The moose likes Beginning Java and the fly likes Error while loading a jar xalan.jar in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Error while loading a jar xalan.jar in Eclipse" Watch "Error while loading a jar xalan.jar in Eclipse" New topic
Author

Error while loading a jar xalan.jar in Eclipse

sandeeprajsingh tandon
Ranch Hand

Joined: Mar 06, 2009
Posts: 70
Please help,.
I am write to run a code and am getting this error in Eclipse 3.2

java.lang.RuntimeException: Exception loading module(s) from manifest jar:file:/C:/Program%20Files/Java/jdk1.5.0_06/jre/lib/endorsed/xalan-2.7.0.jar!/META-INF/MANIFEST.MF: invalid header field


what must i do

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39436
    
  28
Don't know.
Does it work from the command line?
Where is that .jar? Can you download another copy? Can you unzip it and read its MANIFEST file?
sandeeprajsingh tandon
Ranch Hand

Joined: Mar 06, 2009
Posts: 70
Ok. Solved it.
Unjared it to see that some how MANIFEST.MF had been corrupted. Downloaded the latest copy and its working fine. Its a JAR in the JRE Lib
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39436
    
  28
Well done
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while loading a jar xalan.jar in Eclipse