----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi,

I'm using mostly Apache/JServ binaries... so I haven't done any compiling
myself...

I do recall having similar problems related to the use of two different
JDK's at the same time... compiling servlets and stuff...

I did hear of Java problems on SUN regarding JDK 1.2.1_02 production
release and earlier JDK 1.2 production releases... didn't hear anything
about later releases...

It's very likely a Java configuration problem on your machine... but
don't shoot me if I'm wrong.. :)

Victor wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> When I try to compile JServ 1.1 with Apache 1.3.11,
> I get this error:
>
> Entering directory
> `/export/tmp/ApacheJServ-1.1/src/java/org/apache/jserv'
> Compiling Ajpv12InputStream.java ...
> Compiling JServ.java ...
> JServ.java:511: Incompatible type for constructor. Can't convert
> java.net.InetAddress to java.lang.String.
>                 socket = new AuthenticatedSocket(ia, port, new MD5(),
> secret);
>                                                  ^
> JServ.java:512: Exception java.io.IOException is never thrown in the
> body of the corresponding try statement.
>             } catch (IOException e) {
>               ^
> JServ.java:517: Incompatible type for constructor. Can't convert
> java.net.InetAddress to java.lang.String.
>                 socket = new AuthenticatedSocket(ia, port);
>                                                  ^
> JServ.java:518: Exception java.io.IOException is never thrown in the
> body of the corresponding try statement.
>             } catch (IOException e) {
>               ^
> 4 errors
> make[5]: *** [JServ.class] Error 1
> make[5]: Leaving directory
> `/export/tmp/ApacheJServ-1.1/src/java/org/apache/jserv'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/export/tmp/ApacheJServ-1.1/src/java/org/apache'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/export/tmp/ApacheJServ-1.1/src/java/org'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/export/tmp/ApacheJServ-1.1/src/java'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/tmp/ApacheJServ-1.1/src'
> make: *** [all-recursive] Error 1
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to