jre1.5, java.util.zip.ZipException: error in opening zip file [message #38087] |
Sun, 20 March 2005 07:26 |
Eclipse User |
|
|
|
Originally posted by: slamdunkinpool.gmail.com
Hi
I have recently removed jdk/jre1.4 from my system (w2k) and installed
jdk/jre1.5. I have cleaned the .metadata directory of eclipse workspace
also.
Now during build I'm getting following error:
[delete] Deleting directory G:\java\work\desiServer\bin
compile:
[mkdir] Created dir: G:\java\work\desiServer\bin
[javac] Compiling 12 source files to G:\java\work\desiServer\bin
[javac] error: error reading
G:\java\work\desiServer\src\socketThrdServer\commons-logging .properties;
java.util.zip.ZipException: error in opening zip file
[javac] Note:
G:\java\work\desiServer\src\socketThrdServer\printerQProduce r.java uses
unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
The project was working fine in eclipse3.0.1 before I updated to java 1.5.
I get the same error in both eclipse3.1M5a and eclipse3.0.1.
Also in eclipse where do I uncheck -Xlint:
[javac] Note: Recompile with -Xlint:unchecked for details.
Thanks
slamdunk
|
|
|
Re: jre1.5, java.util.zip.ZipException: error in opening zip file [message #38421 is a reply to message #38087] |
Mon, 21 March 2005 05:30 |
Eclipse User |
|
|
|
Originally posted by: slamdunkinpool.gmail.com
slamdunkinpool wrote:
> [javac] error: error reading
> G:javaworkdesiServersrcsocketThrdServercommons-logging.prope rties;
> java.util.zip.ZipException: error in opening zip file
> The project was working fine in eclipse3.0.1 before I updated to java 1.5.
> I get the same error in both eclipse3.1M5a and eclipse3.0.1.
ZipException error still not solved
> Also in eclipse where do I uncheck -Xlint:
> [javac] Note: Recompile with -Xlint:unchecked for details.
solved:
add <compilerarg value="-Xlint" /> in ant under <javac> in build.xml file
|
|
|
Powered by
FUDForum. Page generated in 0.10492 seconds