cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Dong" <jds...@sohu.com>
Subject could not build cocoon under jdk1.4.0 +ant 1.4.1
Date Thu, 06 Jun 2002 07:36:42 GMT
hi, sirs

I used cocoon 2.0.2,

when I builded it, ant gave me the error below:

     [echo] Compiling with Java 1.4, debug on, optimize off, deprecation off
    [javac] Compiling 361 source files to E:\cocoon-2.0.2\build\cocoon\classes
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define java.s
ql.Statement createStatement(int, int, int) from interface java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define java.s
ql.CallableStatement prepareCall(java.lang.String, int, int, int) from interface
 java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define void r
ollback(java.sql.Savepoint) from interface java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define int ge
tHoldability() from interface java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define java.s
ql.PreparedStatement prepareStatement(java.lang.String, int, int, int) from inte
rface java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define java.s
ql.PreparedStatement prepareStatement(java.lang.String, int) from interface java
.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define java.s
ql.PreparedStatement prepareStatement(java.lang.String, int[]) from interface ja
va.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define java.s
ql.PreparedStatement prepareStatement(java.lang.String, java.lang.String[]) from
 interface java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define void s
etHoldability(int) from interface java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define void r
eleaseSavepoint(java.sql.Savepoint) from interface java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define java.s
ql.Savepoint setSavepoint() from interface java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnection.java:66: class org.apache.cocoon.components.languag
e.markup.xsp.EsqlConnection must be declared abstract. It does not define java.s
ql.Savepoint setSavepoint(java.lang.String) from interface java.sql.Connection.
    [javac] public class EsqlConnection implements Connection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define java.sql.Statement createStatement(int, int, int) from interface java.sq
l.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define java.sql.CallableStatement prepareCall(java.lang.String, int, int, int)
from interface java.sql.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define void rollback(java.sql.Savepoint) from interface java.sql.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define int getHoldability() from interface java.sql.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define java.sql.PreparedStatement prepareStatement(java.lang.String, int, int,
int) from interface java.sql.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define java.sql.PreparedStatement prepareStatement(java.lang.String, int) from
interface java.sql.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define java.sql.PreparedStatement prepareStatement(java.lang.String, int[]) fro
m interface java.sql.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define java.sql.PreparedStatement prepareStatement(java.lang.String, java.lang.
String[]) from interface java.sql.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define void setHoldability(int) from interface java.sql.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define void releaseSavepoint(java.sql.Savepoint) from interface java.sql.Connec
tion.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define java.sql.Savepoint setSavepoint() from interface java.sql.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] E:\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\langua
ge\markup\xsp\EsqlConnectionCocoon2.java:64: class org.apache.cocoon.components.
language.markup.xsp.EsqlConnectionCocoon2 must be declared abstract. It does not
 define java.sql.Savepoint setSavepoint(java.lang.String) from interface java.sq
l.Connection.
    [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
    [javac]              ^
    [javac] 24 errors

BUILD FAILED


Why and what can I do?

regards

Jack Dong
jdst12@sohu.com



Mime
View raw message