Subject Re: [Firebird-Java] built Failed, See the errors. Any help?
Author Kenneth Foo
Try using JDK 1.3.x
Build on JDK 1.4 seems to fail at the moment...

Regards
Kenneth

----- Original Message -----
From: "jwcanada" <jwcanada@...>
To: <Firebird-Java@yahoogroups.com>
Sent: Saturday, February 23, 2002 9:06 AM
Subject: [Firebird-Java] built Failed, See the errors. Any help?


> C:\cvs\client-java\src\build>build
>
> C:\cvs\client-java\src\build>java -
> classpath ..\..\build\classes;..;"C:\j2sdk1.4
> .0
> \lib\tools.jar";"..\..\lib\ant.jar";"..\..\lib\junit.jar";"..\..\lib\o
> ptional.
> jar";"..\..\lib\xalan.jar";"..\..\lib\xerces.jar";"..\..\lib\xml-
> apis.jar" org.a
> pache.tools.ant.Main -
> Djavax.xml.parsers.DocumentBuilderFactory=$JAXP_DOM_FACTO
> RY -Djavax.xml.parsers.SAXParserFactory=$JAXP_SAX_FACTORY
> Buildfile: build.xml
>
> init:
>
> compile-classes:
> [depend] Deleted 0 out of date files in 0 seconds
> [javac] Compiling 107 source files to C:\cvs\client-
> java\output\classes
> [javac] Note: sun.tools.javac.Main has been deprecated.
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBCallableStatement.java
> :772: The method java.net.URL getURL(int) declared in class
> org.firebirdsql.jdbc
> .FBCallableStatement cannot override the method of the same signature
> declared i
> n interface java.sql.CallableStatement. Their throws clauses are
> incompatible.
> [javac] public URL getURL(int colIndex) throws SQLException,
> MalformedUR
> LException {
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBCallableStatement.java
> :786: The method java.net.URL getURL(java.lang.String) declared in
> class org.fir
> ebirdsql.jdbc.FBCallableStatement cannot override the method of the
> same signatu
> re declared in interface java.sql.CallableStatement. Their throws
> clauses are i
> ncompatible.
> [javac] public URL getURL(String colName) throws
> SQLException, Malformed
> URLException {
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBCallableStatement.java
> :1245: The method void setURL(java.lang.String, java.net.URL)
> declared in class
> org.firebirdsql.jdbc.FBCallableStatement cannot override the method
> of the same
> signature declared in interface java.sql.CallableStatement. Their
> throws clause
> s are incompatible.
> [javac] public void setURL(String param1, URL param2) throws
> SQLExceptio
> n, MalformedURLException {
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBResultSet.java:3116: T
> he method java.net.URL getURL(int) declared in class
> org.firebirdsql.jdbc.FBResu
> ltSet cannot override the method of the same signature declared in
> interface jav
> a.sql.ResultSet. Their throws clauses are incompatible.
> [javac] public URL getURL(int param1) throws SQLException,
> MalformedURLE
> xception {
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBResultSet.java:3128: T
> he method java.net.URL getURL(java.lang.String) declared in class
> org.firebirdsq
> l.jdbc.FBResultSet cannot override the method of the same signature
> declared in
> interface java.sql.ResultSet. Their throws clauses are incompatible.
> [javac] public URL getURL(String param1) throws SQLException,
> MalformedU
> RLException {
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBRowSet.java:81: The me
> thod java.net.URL getURL(int) declared in class
> org.firebirdsql.jdbc.FBResultSet
> cannot override the method of the same signature declared in
> interface java.sql
> .ResultSet. Their throws clauses are incompatible.
> [javac] public class FBRowSet extends FBResultSet implements
> RowSet {
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBRowSet.java:81: The me
> thod java.net.URL getURL(java.lang.String) declared in class
> org.firebirdsql.jdb
> c.FBResultSet cannot override the method of the same signature
> declared in inter
> face java.sql.ResultSet. Their throws clauses are incompatible.
> [javac] public class FBRowSet extends FBResultSet implements
> RowSet {
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBSQLInput.java:373: The
> method java.net.URL readURL() declared in class
> org.firebirdsql.jdbc.FBSQLInput
> cannot override the method of the same signature declared in
> interface java.sql
> .SQLInput. Their throws clauses are incompatible.
> [javac] public URL readURL() throws SQLException,
> MalformedURLException
> {
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBConnection.java:260: c
> lass org.firebirdsql.jdbc.FBCallableStatement is an abstract class.
> It can't be
> instantiated.
> [javac] return new FBCallableStatement(this, sql);
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBConnection.java:450: c
> lass org.firebirdsql.jdbc.FBDatabaseMetaData is an abstract class. It
> can't be i
> nstantiated.
> [javac] metaData = new FBDatabaseMetaData(this);
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBDatabaseMetaData.java:
> 76: class org.firebirdsql.jdbc.FBDatabaseMetaData must be declared
> abstract. It
> does not define boolean locatorsUpdateCopy() from interface
> java.sql.DatabaseMet
> aData.
> [javac] public class FBDatabaseMetaData implements
> DatabaseMetaData {
> [javac] ^
> [javac] C:\cvs\client-
> java\src\org\firebirdsql\jdbc\FBDatabaseMetaData.java:
> 76: class org.firebirdsql.jdbc.FBDatabaseMetaData must be declared
> abstract. It
> does not define boolean supportsStatementPooling() from interface
> java.sql.Datab
> aseMetaData.
> [javac] public class FBDatabaseMetaData implements
> DatabaseMetaData {
> [javac] ^
> [javac] 12 errors, 1 warning
>
> BUILD FAILED
>
> C:\cvs\client-java\src\build\build.xml:132: Compile failed, messages
> should have
> been provided.
>
> Total time: 33 seconds
>
>
>
> To unsubscribe from this group, send an email to:
> IB-Java-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>