tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jon wingfield" <jon.wingfi...@mkodo.com>
Subject RE: NEWBIE: can't compile jasper2
Date Fri, 13 Sep 2002 15:42:12 GMT
That constructor of RuntimeException has only been available since version
1.4 of the JDK.
What JDK are you trying to compile with?

-----Original Message-----
From: Kevin C. Flaherty [mailto:kevin@roadstead.org]
Sent: 13 September 2002 15:55
To: tomcat-user@jakarta.apache.org
Subject: NEWBIE: can't compile jasper2


Hi all, this may be obvious, but I could use some help. Trying to compile
latest jakarta-tomcat-jasper/jasper2 off cvs for use with tomcat 4.1.10,
using ant 1.5 on Linux RH 7.1 with the following classpath:

[kevon@ushuaia jakarta-tomcat-4.0]$ echo $CLASSPATH
:/usr/local/java/jdk1.3.1_02/jre/lib:/usr/local/java/jdk1.3.1_02/jre/lib:/us
r/local/tomcat/jaf-1.0.2:/usr/local/tomcat/jaxm-1.1_01/lib:/usr/local/tomcat
/jaxp-1.2_01:/usr/local/tomcat/jaxr-1.0_02/lib:/usr/local/tomcat/jaxrpc-1.0_
01/lib

Here is what I get for error from ant:

<snip>

    [javac]
/usr/local/tomcat/jakarta-tomcat-jasper/jasper2/src/share/org/apache/ja
sper/compiler/ImplicitTagLibraryInfo.java:162: cannot resolve symbol
    [javac] symbol  : constructor RuntimeException
(org.apache.jasper.JasperExcept
ion)
    [javac] location: class java.lang.RuntimeException
    [javac]             throw new RuntimeException(je);
    [javac]                       ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

BUILD FAILED
file:/usr/local/tomcat/jakarta-tomcat-jasper/jasper2/build.xml:119: Compile
failed;
 see the compiler error output for details.

Total time: 22 seconds

</snip>

any ideas? I have tried to make sure all of my .jar files exist, in the
right spot, but I can't figure out how to fix this last issue!

thanks in advance,

Kevin

--
Kevin C. Flaherty			email:  kevin@roadstead.org
Roadstead Consulting			www:	www.roadstead.org
Badstuestraede 3			work:   +45 26 29 90 94
1207 Copenhagen K			IM:	roadstead_rap (YahooIM)
Denmark


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message