2011/11/12 Cifer <mantia...@gmail.com>:
> this is the first time i post a question on mail list
> i have googled for my question so much but still get no result
> lastly , i find here and here is my last hope
>
> i am sorry for my poor English if you get into trouble with my question
>
> several days ago I downloaded the apache-tomcat-7.0.22-src.tar.gz
> then i unpacked it and build the source files followed the BUILDING.txt (so
> i also download the ant,also the lastest version)
>
> i followed the BUILDING.txt
>
> - open the terminal
> - cd /usr/local/tomcat7      -------that is where i unpacked my tar in
> - and run ant
>
> (i am not using a proxy , i am using my huawei 3G device to connect to
> Internet)
>
> as the console scrolled down
> hundred lines of errors rise up
> most of them are something like
> "PoolingDataSource is not abstract and does not override abstract method
> getParentLogger() in CommonDataSource"
>
> and at the last line ,it shows
>
> BUILD FAILED
> /usr/local/tomcat7/build.xml:2211: The following error occurred while
> excuting the line:
>
> /usr/local/tomcat7/build.xml:2313: Compile failed; see the compiler error
> output for details.
>
>
> i downloaded the 7.0.22 version of tomcat
> and i am working on Ubuntu 11.10
>

1. What Java version you are using.
Look at Ant documentation on how to install and run it.

IIRC you have to set JAVA_HOME and ANT_HOME variables before running it.

To compile Tomcat 7 you need Java 6 SDK.

2. Do not forget to create build.properties file and redefine
base.path property there. That is mentioned in RUNNING.txt.

3. If you just need to run Tomcat, download a binary version of it +
see RUNNING.txt. Compiling java programs is not necessary to run them,
because their binaries are cross-platform.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to