OVH Cloud OVH Cloud

no javax.servlet.Servlet ???

2 réponses
Avatar
jm
Qui peut me donner des conseils....!?

Voilà, je désire installer ApacheJserv1.2 sur AIX.

Sous :
/rep/ApacheJServ-1.1.1>./configure \ --with-apache-src=/rep/apache_1.3.31 \
--with-jdk-home=/usr/local/j2sdkee1.3.1 \
--with-java=/usr/java131/jre/bin \
--with-javac=/usr/java131/bin \
--with-jar=/usr/java131/bin \
--with-JSDK=/usr/local/j2sdkee1.3.1/lib

loading cache ./config.cache
Configuring ApacheJServ/1.1.1
...
checking for JDK location (please wait)... /usr/local/j2sdkee1.3.1
checking Java platform... forced Java 1
checking for false... /usr/bin/false
checking java... /usr/java131/jre/bin
checking javac... /usr/java131/bin
checking javadoc... configure: warning: You will not be able to create
the Javadoc documentation
/usr/bin/false
checking jar... /usr/java131/bin

J'obtiens l'erreur suivante :

checking JSDK... configure: error: no javax.servlet.Servlet class or jar
with it in /usr/local/j2sdkee1.3.1/lib

Alors, j'ai essayé avec d'autre version:
- ApacheJServ 1.1 et 1.2
- JDK 2.0 et 2.1

Le problème apparaît toujours.... pourquoi? où est l'erreur???
Quelqu'un a t-il une idée??

Salutations,
-jmm

2 réponses

Avatar
arnaudb35
jm wrote:

Qui peut me donner des conseils....!?

Voilà, je désire installer ApacheJserv1.2 sur AIX.

Sous :
/rep/ApacheJServ-1.1.1>./configure --with-apache-src=/rep/apache_1.3.31
--with-jdk-home=/usr/local/j2sdkee1.3.1
--with-java=/usr/java131/jre/bin
--with-javac=/usr/java131/bin
--with-jar=/usr/java131/bin
--with-JSDK=/usr/local/j2sdkee1.3.1/lib

loading cache ./config.cache
Configuring ApacheJServ/1.1.1
...
checking for JDK location (please wait)... /usr/local/j2sdkee1.3.1
checking Java platform... forced Java 1
checking for false... /usr/bin/false
checking java... /usr/java131/jre/bin
checking javac... /usr/java131/bin
checking javadoc... configure: warning: You will not be able to create
the Javadoc documentation
/usr/bin/false
checking jar... /usr/java131/bin

J'obtiens l'erreur suivante :

checking JSDK... configure: error: no javax.servlet.Servlet class or jar
with it in /usr/local/j2sdkee1.3.1/lib

Alors, j'ai essayé avec d'autre version:
- ApacheJServ 1.1 et 1.2
- JDK 2.0 et 2.1

Le problème apparaît toujours.... pourquoi? où est l'erreur???
Quelqu'un a t-il une idée??

Salutations,
-jmm
il semble qu'il te manque le jar servlet.jar dans ton classpath


Avatar
jm
arnaudb35 wrote:

jm wrote:

Qui peut me donner des conseils....!?

Voilà, je désire installer ApacheJserv1.2 sur AIX.

Sous :
/rep/ApacheJServ-1.1.1>./configure
--with-apache-src=/rep/apache_1.3.31
--with-jdk-home=/usr/local/j2sdkee1.3.1
--with-java=/usr/java131/jre/bin
--with-javac=/usr/java131/bin
--with-jar=/usr/java131/bin
--with-JSDK=/usr/local/j2sdkee1.3.1/lib

loading cache ./config.cache
Configuring ApacheJServ/1.1.1
...
checking for JDK location (please wait)... /usr/local/j2sdkee1.3.1
checking Java platform... forced Java 1
checking for false... /usr/bin/false
checking java... /usr/java131/jre/bin
checking javac... /usr/java131/bin
checking javadoc... configure: warning: You will not be able to create
the Javadoc documentation
/usr/bin/false
checking jar... /usr/java131/bin

J'obtiens l'erreur suivante :

checking JSDK... configure: error: no javax.servlet.Servlet class or
jar with it in /usr/local/j2sdkee1.3.1/lib

Alors, j'ai essayé avec d'autre version:
- ApacheJServ 1.1 et 1.2
- JDK 2.0 et 2.1

Le problème apparaît toujours.... pourquoi? où est l'erreur???
Quelqu'un a t-il une idée??

Salutations,
-jmm


il semble qu'il te manque le jar servlet.jar dans ton classpath
C'est-à-dire...???


echo $CLASSPATH
/usr/local/JSDK2.0/lib/jsdk.jar
Est-ce que cela suffit, Faut-il autre chose que jsdk.jar dans JDSK2.0?

Merci :-)
jmm