You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Tony F. White" <to...@worldlingo.com> on 2003/09/01 04:59:13 UTC

Problem Compiling under Redhat 9

Hello,

I am not sure if this is a problem so much with Tomcat or with Ant.
When I try to compile Tomcat 4.1.24 using Sun JDK 1.3.1 on Redhat 9 I get the
following error:


---------------------------------------------------------------------
build-catalina:
    [javac] Compiling 355 source files to
/usr/local/jakarta-tomcat-4.1.24-src/catalina/build/server/classes
    [javac] Note: 18 files use or override a deprecated API.  Recompile with
"-deprecation" for details.
    [javac] 1 warning
     [copy] Copying 76 files to
/usr/local/jakarta-tomcat-4.1.24-src/catalina/build/server/classes

BUILD FAILED
file:/usr/local/jakarta-tomcat-4.1.24-src/catalina/build.xml:854: Failed to
copy
/usr/local/jakarta-tomcat-4.1.24-src/catalina/src/share/org/apache/catalina/va
lves/LocalStrings_fr.properties to
/usr/local/jakarta-tomcat-4.1.24-src/catalina/build/server/classes/org/apache/
catalina/valves/LocalStrings_fr.properties due to null

Total time: 46 seconds

---------------------------------------------------------------------



I checked and the file it is trying to copy does exist in the correct location
and the target directory also exists.
Tomcat compiles fine if I use JSDK 1.4 but the application to be run on tomcat
unfortunately cannot be compiled under JDK1.4 as some of the libraries are
newer (mainly the java.sql stuff) and until we can test our stuff properly we
dare not use JDK1.4.
I also tried downloading the src for Ant and compiling it... got a similar
error... anybody have any ideas?




-------------------------- Java Version -----------------------------
java version "1.3.1_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_09-b03)
Java HotSpot(TM) Client VM (build 1.3.1_09-b03, mixed mode)
---------------------------------------------------------------------
-------------------------- Apache Ant Version -----------------------
Apache Ant version 1.5.4 compiled on August 12 2003
---------------------------------------------------------------------