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 Elasticsearch in Action this week in the Big Data 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: 74
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: 41060
    
  29
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: 74
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: 41060
    
  29
Well done
 
rocket mass heater kickstarter
 
subject: Error while loading a jar xalan.jar in Eclipse