You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Kevin C. Flaherty" <ke...@roadstead.org> on 2002/09/13 16:55:22 UTC

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:/usr/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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NEWBIE: can't compile jasper2

Posted by "Kevin C. Flaherty" <ke...@roadstead.org>.
jdk1.3.1_02 ... that could very well be it... I will try 1.4 and let you know...

Here's what jon wingfield (jon.wingfield@mkodo.com) had to say:

> 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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

-- 
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NEWBIE: can't compile jasper2

Posted by jon wingfield <jo...@mkodo.com>.
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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>