Jason,

I have experienced the same problem.  I tried changing the build.xml
file from:

<property name="build.compiler" value="classic"/>

to:

<property name="build.compiler" value="modern"/>

but that didn't work either - I got an error message 
" Modern compiler is not available - using classic compiler".

I spent all afternoon yesterday trying to get it to build but with no
success.  If you have any luck, please let me know.  /Roger



Jason Novotny wrote:
> 
> Hi,
> 
>     I'm sorry if this has been asked many times before- I was unable to
> access the archived mail list. I'm compiling xml-soap out of cvs and
> apparently the build.xml script requires a "classic" compiler- in fact
> the only compiler it seemed to compile with is 1.1.7 and then I  get the
> following below:
>     Is there any reason not to use JDK 1.3- and then why am I getting
> these errors?
> 
>     Thanks, Jason
> 
>         [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/encoding/soapenc/MapSerializer.java:99:
> Class org.apache.soap.encoding.soapenc.Map not found in type
> declaration.
>     [javac]     else if (src instanceof Map)
>     [javac]                             ^
>     [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/encoding/soapenc/MapSerializer.java:102:
> Class org.apache.soap.encoding.soapenc.Map not found in type
> declaration.
>     [javac]       hashtable.putAll((Map)src);
>     [javac]                         ^
>     [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/providers/com/Log.java:155:
> Exception java.io.IOException must be caught, or it must be declared in
> the throws clause of this method.
>     [javac]                 ls= new PrintStream(new
> BufferedOutputStream( new FileOutputStream( f2, true)), true);
> 
> [javac]                                                               ^
>     [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/providers/com/Log.java:167:
> Method compareToIgnoreCase(java.lang.String) not found in class
> java.lang.String.
>     [javac]             if(0==f1.compareToIgnoreCase("INFORMATION"))
> currentLevel= INFORMATION | SUCCESS | WARNING | ERROR;
>     [javac]                                         ^
>     [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/providers/com/Log.java:168:
> Method compareToIgnoreCase(java.lang.String) not found in class
> java.lang.String.
>     [javac]             else if(0==f1.compareToIgnoreCase("SUCCESS"))
> currentLevel= SUCCESS | WARNING | ERROR;
>     [javac]                                              ^
>     [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/providers/com/Log.java:169:
> Method compareToIgnoreCase(java.lang.String) not found in class
> java.lang.String.
>     [javac]             else if(0==f1.compareToIgnoreCase("WARNING"))
> currentLevel= WARNING | ERROR;
>     [javac]                                              ^
>     [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/providers/com/Log.java:170:
> Method compareToIgnoreCase(java.lang.String) not found in class
> java.lang.String.
>     [javac]             else if(0==f1.compareToIgnoreCase("ERROR"));
>     [javac]                                              ^
>     [javac]
> /export/home/users/portal/xml-soap/java/src/org/apache/soap/rpc/SOAPContext.java:557:
> Wrong number of arguments in method.
>     [javac]       return( Class.forName( className, true, loader ) );
>     [javac]                            ^
>     [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/server/ServiceManager.java:176:
> Wrong number of arguments in method.
>     [javac]             c = Class.forName( className, true, cl );
>     [javac]                              ^
>     [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/util/net/HTTPUtils.java:296:
> Method deleteCharAt(int) not found in class java.lang.StringBuffer.
>     [javac]                   valuebuf.deleteCharAt(valueLen - 1);
>     [javac]                                        ^
>     [javac]
> 
>/export/home/users/portal/xml-soap/java/src/org/apache/soap/util/xml/XMLParserUtils.java:107:
> Method setProperty(java.lang.String, java.lang.String) not found in
> class java.lang.System.
>     [javac]
> System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
> [javac]                         ^
>     [javac] Note:
> /export/home/users/portal/xml-soap/java/src/org/apache/soap/providers/com/Log.java
> uses a deprecated API.  Recompile with "-deprecation" for details.
>     [javac] 11 errors, 1 warning
> 
> BUILD FAILED
> 
> /export/home/users/portal/xml-soap/java/build.xml:175: Compile failed,
> messages should have been provided.
> 
> Total time: 9 seconds
> 
> --
> Jason Novotny               [EMAIL PROTECTED]
> Home: (510) 610-8360        Work: (510) 486-8662
> NERSC Distributed Computing http://www-itg.lbl.gov/Grid

Reply via email to