Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem compiling Java application with ANT

0 views
Skip to first unread message

Giovannini Andrea

unread,
Apr 17, 2001, 12:13:38 PM4/17/01
to
Hi all,
I've a problem trying to compile my web application. I'm using JDK 1.3.0_02
and
ANT 1.3 on Win2k SP1; just this morning I was able to compile and build the
application, then
it stopped with an internal error (the full message is included below).
I get the same message launching ANT both from a command line script and
from
NetBeans 3.1; I tried to reinstall everything but nothing changed ...
If I compile and run a simple class then it works without any problem.

Did anyone experience the same problem ?? Any idea ??

Thank you very much in advance.

Regards,
Andrea


---------------------------- begin error message
-----------------------------
prepare:



compile:

Compiling 42 source files to C:\APM\webapp\apm\WEB-INF\classes

An exception has occurred in the compiler (1.3.0_02). Please file a bug at
the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi).
Include your program and the following diagnostic in your report. Thank
you.

java.lang.InternalError: jzentry == 0

at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)

at
com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java:893)

at
com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095)

at
com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java:1180)

at
com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1202)

at
com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:955)

at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)

at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)

at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)

at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)

at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)

at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)

at
com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)

at com.sun.tools.javac.v8.Main.compile(Main.java:247)

at com.sun.tools.javac.Main.compile(Main.java:26)

at java.lang.reflect.Method.invoke(Native Method)

at
org.apache.tools.ant.taskdefs.Javac.doModernCompile(Javac.java:525)

at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:334)

at org.apache.tools.ant.Target.execute(Target.java:142)

at org.apache.tools.ant.Project.runTarget(Project.java:818)

at org.apache.tools.ant.Project.executeTarget(Project.java:532)

at org.apache.tools.ant.Project.executeTargets(Project.java:506)

at
org.apache.tools.ant.module.TargetExecutor.run(TargetExecutor.java:162)

at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:118)

C:\APM\webapp\src\build.xml:49: Compile failed, messages should have been
provided.
at
org.apache.tools.ant.taskdefs.Javac.doModernCompile(Javac.java:527)

at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:334)

at org.apache.tools.ant.Target.execute(Target.java:142)

at org.apache.tools.ant.Project.runTarget(Project.java:818)

at org.apache.tools.ant.Project.executeTarget(Project.java:532)

at org.apache.tools.ant.Project.executeTargets(Project.java:506)

at
org.apache.tools.ant.module.TargetExecutor.run(TargetExecutor.java:162)

at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:118)
---------------------------- end error message -----------------------------


--
Posted from ns2.gformula.com [194.185.34.34]
via Mailgate.ORG Server - http://www.Mailgate.ORG

0 new messages