Hi, i downloaded xalan-2.7.1.jar file and i added that jar file in specific location. In that same location some other jar files are there and they used successfully in code.
But in the case of newly added jar file i am getting the error like "error in opening Zip" . i am getting error only for newly added jar file but remaining all are accessed in the code flow.
I changed the permissions of that file to 555, and after that i tried to compile. In this case also i am getting the same error.
I could not find the reason for that.
Ulf Dittmer wrote:Well, *is* the file corrupt? Can you list its contents via "jar tf xalan-2.7.1.jar"? If not, download a fresh copy.
Thanks, i extracted that jar file. i found some classed in that but i could not find the required class, And one more thing is at the end i saw error "java.io.EOFException:Unexpected end of ZLIB input stream
I think, we are getting error while extracting the jar file.
Joined: Mar 22, 2005
OK, so the file is corrupt - delete it and get a fresh copy. Make sure you don't treat it as ASCII anywhere - it's binary data.
Joined: Oct 09, 2012
Ulf Dittmer wrote:OK, so the file is corrupt - delete it and get a fresh copy. Make sure you don't treat it as ASCII anywhere - it's binary data.
Thanks, yes i downloaded a fresh copy and added in the required location. NOw it is working.
Thanks Ulf Dittmer.