You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by "Roger L. Costello" <co...@mitre.org> on 2001/09/03 17:22:56 UTC

Unable to build soap-2_2

Hi Folks,

I have downloaded the source code for the soap-2_2 release, and am
trying unsuccessfully to build it.

Which version of the JDK should I use?  When I use anything other than
jdk1.1.8 I get this error message:

"build.xml:176 Cannot use classic compiler, as it is not available"

I assume that this is telling me that I need to use jdk1.1.8?
However, when I do use jdk1.1.8 I get a bunch of error messages stating
that the class Map cannot be found.  For example,

  else if (src instanceof Map)
                          ^
  MapSerializer.java:102: Class Map not found in type declaration

I assume that this is telling me that it cannot find the Map class in
java.utils.Map? (Which is not in jdk1.1.8.  It is in jdk1.2)

So, I am really confused about which jdk I am supposed to use to do the
build.  None seem to work.  Below are my path and classpath settings. 
Any thoughts would be much appreciated.  /Roger

   set path=c:\jdk1.1.8\bin

   set CLASSPATH=..\lib\xerces.jar
   set CLASSPATH=%CLASSPATH%;..\lib\activation.jar
   set CLASSPATH=%CLASSPATH%;..\lib\mail.jar
   set CLASSPATH=%CLASSPATH%;c:\jakarta-tomcat-3.2.3\lib\ant.jar
   set CLASSPATH=%CLASSPATH%;c:\jakarta-tomcat-3.2.3\lib\jaxp.jar
   set CLASSPATH=%CLASSPATH%;c:\jakarta-tomcat-3.2.3\lib\servlet.jar
   set CLASSPATH=%CLASSPATH%;c:\jdk1.1.8\lib\classes.zip
   set CLASSPATH=%CLASSPATH%;.

   java -classpath %CLASSPATH% org.apache.tools.ant.Main compile