tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fu-Tung Cheng <futung.ch...@yahoo.com>
Subject ant download - failed
Date Mon, 04 Aug 2008 07:49:10 GMT
Hi,

I am just trying to build tomcat for the first time.  I have jdk 1.6.0.03-b05 and ant 1.7.0
and I am using the source download 6.0.18.  This is on windows xp.

I am following the steps from :  

http://tomcat.apache.org/tomcat-6.0-doc/building.html

Following is the error extract.

Thank you,

Fu-Tung



build-tomcat-dbcp:
     [copy] Copying 67 files to c:\usr\share\java\tomcat6-deps\dbcp
    [mkdir] Created dir: c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache
\tomcat\dbcp
     [move] Moving 63 files to c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\
apache\tomcat\dbcp
    [mkdir] Created dir: c:\usr\share\java\tomcat6-deps\dbcp\classes
    [javac] Compiling 63 source files to c:\usr\share\java\tomcat6-deps\dbcp\cla
sses
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\BasicDataSource.java:44: org.apache.tomcat.dbcp.dbcp.BasicDataSource is not
 abstract and does not override abstract method isWrapperFor(java.lang.Class<?>)
 in java.sql.Wrapper
    [javac] public class BasicDataSource implements DataSource {
    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\DelegatingStatement.java:46: org.apache.tomcat.dbcp.dbcp.DelegatingStatemen
t is not abstract and does not override abstract method isPoolable() in java.sql
..Statement
    [javac] public class DelegatingStatement extends AbandonedTrace implements S
tatement {
    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\DelegatingStatement.java:131: isClosed() in org.apache.tomcat.dbcp.dbcp.Del
egatingStatement cannot implement isClosed() in java.sql.Statement; attempting t
o assign weaker access privileges; was public
    [javac]     protected boolean isClosed() {
    [javac]                       ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\DelegatingPreparedStatement.java:50: org.apache.tomcat.dbcp.dbcp.Delegating
PreparedStatement is not abstract and does not override abstract method setNClob
(int,java.io.Reader) in java.sql.PreparedStatement
    [javac] public class DelegatingPreparedStatement extends DelegatingStatement

    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\DelegatingCallableStatement.java:53: org.apache.tomcat.dbcp.dbcp.Delegating
CallableStatement is not abstract and does not override abstract method setNClob
(java.lang.String,java.io.Reader) in java.sql.CallableStatement
    [javac] public class DelegatingCallableStatement extends DelegatingPreparedS
tatement
    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\DelegatingConnection.java:51: org.apache.tomcat.dbcp.dbcp.DelegatingConnect
ion is not abstract and does not override abstract method createStruct(java.lang
..String,java.lang.Object[]) in java.sql.Connection
    [javac] public class DelegatingConnection extends AbandonedTrace
    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\DelegatingResultSet.java:55: org.apache.tomcat.dbcp.dbcp.DelegatingResultSe
t is not abstract and does not override abstract method updateNClob(java.lang.St
ring,java.io.Reader) in java.sql.ResultSet
    [javac] public class DelegatingResultSet extends AbandonedTrace implements R
esultSet {
    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\PoolablePreparedStatement.java:41: org.apache.tomcat.dbcp.dbcp.PoolablePrep
aredStatement is not abstract and does not override abstract method setNClob(int
,java.io.Reader) in java.sql.PreparedStatement
    [javac] public class PoolablePreparedStatement extends DelegatingPreparedSta
tement implements PreparedStatement {
    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\PoolingConnection.java:42: org.apache.tomcat.dbcp.dbcp.PoolingConnection is
 not abstract and does not override abstract method createStruct(java.lang.Strin
g,java.lang.Object[]) in java.sql.Connection
    [javac] public class PoolingConnection extends DelegatingConnection implemen
ts Connection, KeyedPoolableObjectFactory {
    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\PoolingDataSource.java:45: org.apache.tomcat.dbcp.dbcp.PoolingDataSource is
 not abstract and does not override abstract method isWrapperFor(java.lang.Class
<?>) in java.sql.Wrapper
    [javac] public class PoolingDataSource implements DataSource {
    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\cpdsadapter\ConnectionImpl.java:41: org.apache.tomcat.dbcp.dbcp.cpdsadapter
..ConnectionImpl is not abstract and does not override abstract method createStru
ct(java.lang.String,java.lang.Object[]) in java.sql.Connection
    [javac] class ConnectionImpl implements Connection {
    [javac] ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\cpdsadapter\PooledConnectionImpl.java:43: org.apache.tomcat.dbcp.dbcp.cpdsa
dapter.PooledConnectionImpl is not abstract and does not override abstract metho
d removeStatementEventListener(javax.sql.StatementEventListener) in javax.sql.Po
oledConnection
    [javac] class PooledConnectionImpl
    [javac] ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\cpdsadapter\PoolablePreparedStatementStub.java:34: isClosed() in org.apache
..tomcat.dbcp.dbcp.DelegatingStatement cannot implement isClosed() in java.sql.St
atement; attempting to assign weaker access privileges; was public
    [javac] class PoolablePreparedStatementStub extends PoolablePreparedStatemen
t {
    [javac] ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\datasources\PerUserPoolDataSource.java:52: org.apache.tomcat.dbcp.dbcp.data
sources.PerUserPoolDataSource is not abstract and does not override abstract met
hod isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
    [javac] public class PerUserPoolDataSource
    [javac]        ^
    [javac] c:\usr\share\java\tomcat6-deps\dbcp\src\java\org\apache\tomcat\dbcp\
dbcp\datasources\SharedPoolDataSource.java:45: org.apache.tomcat.dbcp.dbcp.datas
ources.SharedPoolDataSource is not abstract and does not override abstract metho
d isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
    [javac] public class SharedPoolDataSource
    [javac]        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 15 errors

BUILD FAILED
c:\apache-tomcat-6018-src\build.xml:701: The following error occu
rred while executing this line:
c:\apache-tomcat-6018-src\build.xml:771: Compile failed; see the
compiler error output for details.

Total time: 1 minute 2 seconds
c:\apache-tomcat-6018-src>


      


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message