You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/07/23 22:43:01 UTC
[Bug 2753] New: - build error using JavaSDK1.3.0 and JavaSDK1.3.1
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2753
*** shadow/2753 Mon Jul 23 13:43:01 2001
--- shadow/2753.tmp.10062 Mon Jul 23 13:43:01 2001
***************
*** 0 ****
--- 1,87 ----
+ +============================================================================+
+ | build error using JavaSDK1.3.0 and JavaSDK1.3.1 |
+ +----------------------------------------------------------------------------+
+ | Bug #: 2753 Product: Ant |
+ | Status: NEW Version: 1.1 |
+ | Resolution: Platform: Sun |
+ | Severity: Normal OS/Version: Solaris |
+ | Priority: Other Component: Build Process |
+ +----------------------------------------------------------------------------+
+ | Assigned To: ant-dev@jakarta.apache.org |
+ | Reported By: jgustafson@breakaway.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ I submitted the a bug report to Sun and here is their response (looking at the
+ stack trace and given that it compiles when I use the WINDOWS version of
+ tools.jar, I still think that it is their issue. BUT.. here goes...)
+
+ Hi Jim Gustafson,
+
+ The evaluation of your bug report has been completed.
+
+ Thank you for using the Java(TM) technology to deploy your
+ Java application. However, our engineers are not the original
+ writer for the ANT tools. Please file a bug report to the apache
+ bug database at
+
+ http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant
+
+ Thank you for taking the time to report this problem.
+
+ Regards,
+ Paul
+ ----------------- Original Bug Report-------------------
+
+ category : java
+ subcategory : compiler
+ release : 1.3.1
+ type : bug
+ synopsis : Ant compile error (cause: tools.jar )
+ description : java version "1.3.1"
+ Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
+ Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
+
+
+
+ I am compiling using the ant build tool. I get the following error:
+
+ java.lang.NoClassDefFoundError: com/sun/tools-javac/v8/util/Hashtable
+ at com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:117)
+ at com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:134)
+ at com.sun.tools.javac.v8.Main.compile(Main.java:244)
+ 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:618)
+ at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:297)
+ at org.apache.tools.ant.Target.execute(Target.java:132)
+ at org.apache.tools.ant.Project.runTarget(Project.java:717)
+ at org.apache.tools.ant.Project.executeTarget(Project.java:448)
+ at org.apache.tools.ant.Project.executeTargets(Project.java:422)
+ at org.apache.tools.ant.Main.runBuild(Main.java:279)
+ at org.apache.tools.ant.Main.main(Main.java:107)
+
+
+
+ NOTICE: in the NoClassDefFoundError, there is a DASH (-) in the package path:
+ com/sun/tools-javac/v8/util/Hashtable.
+ IT SHOULD BE: com/sun/tools/javac/v8/util/Hashtable
+
+
+ I ran ant under jdk1.1 and 1.2 and there are no issues
+ workaround : I moved the tools.jar file from my Windows installation and
+ everything compiles
+ as expected.
+ suggested_val :
+ cust_name : Jim Gustafson
+ cust_email : jgustafson@breakaway.com
+ jdcid :
+ keyword : webbug
+ company : Breakaway Solutions
+ hardware : sun4
+ OSversion : sol2.7
+ bugtraqID : 0
+ dateCreated : 2001-07-23 09:03:51.9
+ dateEvaluated : 2001-07-23 12:00:11.644