tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Ochani" <ocha...@ncc.edu>
Subject Re: Installing Apache-Tomcat 6.0.16 Problem
Date Mon, 16 Jun 2008 21:50:38 GMT
On 16 Jun 2008 at 17:32, Chuck Noren wrote:

Date sent:	Mon, 16 Jun 2008 17:32:34 -0400
From:	Chuck Noren <chuck.noren@gmail.com>
Subject:	Installing Apache-Tomcat 6.0.16 Problem
To:	Tomcat Users List <users@tomcat.apache.org>
Send reply to:	Tomcat Users List <users@tomcat.apache.org>

> I have a PC with Fedora Core 6
> I have installed jdk 1.6.0_06
> 
> I downloaded Tomcat 6.0.16, did a sucessful ant download. When I do
> ant, I
> get a complaint from javac on the first line of Resouce.java,
> flagging the
> comment characters "/*" and complaining about Enum (see below). Of
> cource,
> javac compiles the single file okay when I hand enter it. What is
> going
> wrong?
> 
> Thanks,
> Chuck
> 

Why not just get the binary version of Tomcat?


-Steve O.



> [noren@localhost apache-tomcat-6.0.16-src]$ su
> Password:
> [root@localhost apache-tomcat-6.0.16-src]# ant -version
> Apache Ant version 1.6.5 compiled on August 30 2006
> [root@localhost apache-tomcat-6.0.16-src]# which javac
> /usr/local/jdk1.6.0_06/bin/javac
> [root@localhost apache-tomcat-6.0.16-src]# ant
> Buildfile: build.xml
> 
> build-prepare:
>    [delete] Deleting directory
> /home/noren/opennms/apache-tomcat-6.0.16-src/output/build/temp
>     [mkdir] Created dir:
> /home/noren/opennms/apache-tomcat-6.0.16-src/output/build/temp
> 
> compile:
>     [javac] Compiling 1045 source files to
> /home/noren/opennms/apache-tomcat-6.0.16-src/output/classes
>     [javac] ----------
>     [javac] 1. ERROR in
> /home/noren/opennms/apache-tomcat-6.0.16-src/java/javax/annotation/R
> esource.java
> (at line 1)
>     [javac]     /*
>     [javac]     ^^
>     [javac] The type Enum is not generic; it cannot be parameterized
> with
> arguments <Resource.AuthenticationType>
>     [javac] ----------
>     [javac] 1 problem (1 error)
> 
> BUILD FAILED
> /home/noren/opennms/apache-tomcat-6.0.16-src/build.xml:109: Compile
> failed;
> see the compiler error output for details.
> 
> Total time: 5 seconds
> [root@localhost apache-tomcat-6.0.16-src]#
> 



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message