You are using WSAD/Eclipse, correct?  In which case your .classpath file
points to all of those nifty things in your project that should be used to
compile your application, including the classes and libraries that are
referenced by the compiler and run-time code.

To me, it sounds like you have a ZIP or a JAR file on your CLASSPATH
(referenced in the .classpath file) that cannot be read using the ZIP
libraries in WSAD/Eclipse.  In other words... one of the files in your
classpath is supposed to be either a ZIP or a JAR but is not.

Do you have a DLL, readme.TXT or some other non-zip file referenced by your
project's classpath?

Regards,
John Walker

On 4/25/06, mouna SAHIB <[EMAIL PROTECTED]> wrote:
>
> Hello everybody,
>
> I'm not a specialist using struts, but I did some work with it in last
> months.
> Now, I'm working on project using the jdk1.4.2 and I'v moved to jdk 1.5 to
> have plenty  use of aspectj 5 (an AOP tool).
>
> I don't know if  there is a compatiblity problem using struts 1.2.8 with
> java 5:
> I converted a module of my application into an apsectj tool and use jdk
> 1.5.
> The module that causes problem is my GUI module which uses struts.
> When I build (using ant) I have the following error:
>     [javac] error: error reading C:\projets\M_LIB\.classpath; error in
> opening zip file
>
> I see that there isa new tool to use java 5 with struts "strecks" but I'm
> not supposed to work on the struts module, and shouldn't(other people
> developped it) and I'm wondering how to get rid of that compiling error!
>
> Any ideas please?
> Thanks
>
>

Reply via email to