hi all,
i found some strange errors when compiling tomcat 4.1.24 from source using JDK 1.4...
env var.
$PATH added :/usr/local/jakarta-ant-1.5/bin
$JAVA_HOME : /usr/java/j2sdk1.4.1_03
$J2EE_HOME : /usr/java/j2sdkee1.3.1
classpath added:
./javac -classpath /usr/java/j2sdkee1.3.1/lib/j2ee.jar
after enter : ant dist
errors occurred...
below are the errors output..
------------------------------
build-static:
[copy] Copying 4 files to /usr/local/jakarta-tomcat-4.1.24-src/jasper/build/bin
build-only:
[javac] Compiling 79 source files to /usr/local/jakarta-tomcat-4.1.24-src/jasper/build/shared/classes
[javac] /usr/local/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/BeanRepository.java:72: package javax.servlet does not exist
[javac] import javax.servlet.ServletException;
:
:
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 100 errors
BUILD FAILED
file:/usr/local/jakarta-tomcat-jasper/jasper2/build.xml:127: Compile failed; see the compiler error output for details.
------------------------------
could you help me to solve the problem? really thanks alot!!
rgds,
tongm
i found some strange errors when compiling tomcat 4.1.24 from source using JDK 1.4...
env var.
$PATH added :/usr/local/jakarta-ant-1.5/bin
$JAVA_HOME : /usr/java/j2sdk1.4.1_03
$J2EE_HOME : /usr/java/j2sdkee1.3.1
classpath added:
./javac -classpath /usr/java/j2sdkee1.3.1/lib/j2ee.jar
after enter : ant dist
errors occurred...
below are the errors output..
------------------------------
build-static:
[copy] Copying 4 files to /usr/local/jakarta-tomcat-4.1.24-src/jasper/build/bin
build-only:
[javac] Compiling 79 source files to /usr/local/jakarta-tomcat-4.1.24-src/jasper/build/shared/classes
[javac] /usr/local/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/BeanRepository.java:72: package javax.servlet does not exist
[javac] import javax.servlet.ServletException;
:
:
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 100 errors
BUILD FAILED
file:/usr/local/jakarta-tomcat-jasper/jasper2/build.xml:127: Compile failed; see the compiler error output for details.
------------------------------
could you help me to solve the problem? really thanks alot!!
rgds,
tongm