tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc G. Fournier" <scra...@hub.org>
Subject Compiling latest 4.0.1 fails with 'not found in import' ...
Date Sun, 13 Jan 2002 19:27:05 GMT

Nice and simple, probably ... I *think* I've followed the instructions
pretty much to the letter, have everything installed from ports that can
be, downloaded the rest ... modifed build.properties for where everything
is, but when I'm doing an 'ant dist', I'm getting:

build-main:
    [javac] Compiling 4 source files to /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/build/server/classes
    [javac] Compiling 5 source files to /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/build/server/classes
    [javac] /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java:71:
Class javax.net.ServerSocketFactory not found in import.
    [javac] import javax.net.ServerSocketFactory;
    [javac]        ^
    [javac] /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java:72:
Class javax.net.ssl.SSLServerSocket not found in import.
    [javac] import javax.net.ssl.SSLServerSocket;
    [javac]        ^
    [javac] /usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java:73:
Class javax.net.ssl.SSLSocket not found in import.
    [javac] import javax.net.ssl.SSLSocket;
    [javac]        ^
<etc, etc, etc>

There are a total of 36 errors ...

I can do searches for this stuff using find, and the various packages
appear to be installed:

reilly2001# find /usr/local -name "*SSLServerSocket*" -print
/usr/local/jsse1.0.2/doc/apidoc/javax/net/ssl/SSLServerSocket.html
/usr/local/jsse1.0.2/doc/apidoc/javax/net/ssl/SSLServerSocketFactory.html
/usr/local/java_misc/jakarta-tomcat-4.0.1-src/catalina/src/share/org/apache/catalina/net/SSLServerSocketFactory.java

And, according to build.properties, I believe things are set right:

# ----- Java Secure Sockets Extension (JSSE), version 1.0.2 or later -----
jsse.home=${base.path}/jsse-1.0.2
jsse.lib=${jsse.home}/lib
jcert.jar=${jsse.lib}/jcert.jar
jnet.jar=${jsse.lib}/jnet.jar
jsse.jar=${jsse.lib}/jsse.jar

reilly2001# ls -lt /usr/local/jsse1.0.2/lib/
total 476
-rw-r--r--  1 root  wheel  463471 Aug  1  2000 jsse.jar
-rw-r--r--  1 root  wheel    7637 Aug  1  2000 jcert.jar
-rw-r--r--  1 root  wheel    3098 Aug  1  2000 jnet.jar

Yet it can't find it?

Help?

Thanks ...


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message