[Monetdb-developers] Failed to compile JDBC

Ying Zhang Y.Zhang at cwi.nl
Tue Apr 17 16:35:30 CEST 2007


Hi all,

After having checked out the latest commit from the CURRENT branch,
rebuild (bootstrap, configure, make install) module "clients" failed
with some errors on JDBC (see attachment).

Does anyone know what is wrong here?

Regards,

Jennie
-------------- next part --------------
"/usr/bin/ant" -f "`echo ../../../src/java/build.xml`" -Dbuilddir="`echo /ufs/zhang/dev/clients/build-debug/src/java`" -Djardir="`echo /ufs/zhang/dev/clients/build-debug/src/java`" -Dbasedir="`echo ../../../src/java`" jar_jdbcclient
Buildfile: ../../../src/java/build.xml

prepare:
     [echo] Debug is true, optimise is true

driver:
     [copy] Copying 1 file to /ufs/zhang/dev/clients/build-debug/src/java/src/nl/cwi/monetdb/jdbc
     [copy] Copying 1 file to /ufs/zhang/dev/clients/build-debug/src/java/src/nl/cwi/monetdb/xmldb/base
     [echo] Configured build for the 1.5 (Steadfast) edition driver

compile_jdbc:
     [echo] Compiling JDBC driver
    [javac] Compiling 12 source files to /ufs/zhang/dev/clients/build-debug/src/java
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:27: package nl.cwi.monetdb.mcl.net does not exist
    [javac] import nl.cwi.monetdb.mcl.net.*;
    [javac] ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:68: cannot find symbol
    [javac] symbol  : class MapiSocket
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection
    [javac] 	private final MapiSocket server;
    [javac] 	              ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetClob.java:35: nl.cwi.monetdb.jdbc.MonetClob is not abstract and does not override abstract method getCharacterStream(long,long) in java.sql.Clob
    [javac] public class MonetClob implements Clob {
    [javac]        ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:56: nl.cwi.monetdb.jdbc.MonetConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
    [javac] public class MonetConnection implements Connection {
    [javac]        ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:183: cannot find symbol
    [javac] symbol  : class MapiSocket
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection
    [javac] 			server = new MapiSocket();
    [javac] 			             ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:943: cannot find symbol
    [javac] symbol  : method writeLine(java.lang.String[],java.lang.String)
    [javac] location: class java.io.Writer
    [javac] 				out.writeLine(queryTempl, command);
    [javac] 				   ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:944: cannot find symbol
    [javac] symbol  : method waitForPrompt()
    [javac] location: class java.io.Writer
    [javac] 				String error = out.waitForPrompt();
    [javac] 				                  ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:963: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection
    [javac] 		synchronized (monet) {
    [javac] 		              ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:965: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection
    [javac] 				monet.writeLine(commandTempl, command);
    [javac] 				^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:966: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection
    [javac] 				String error = monet.waitForPrompt();
    [javac] 				               ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:986: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection
    [javac] 		synchronized (monet) {
    [javac] 		              ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1955: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 				monet.waitForPrompt();
    [javac] 				^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1986: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 					if (sendThread == null) sendThread = new SendThread(monet);
    [javac] 					                                                    ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1993: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 					monet.writeLine(templ, query);
    [javac] 					^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1997: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 				String tmpLine = monet.readLine();
    [javac] 				                 ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1998: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 				int linetype = monet.getLineType();
    [javac] 				               ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2111: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 								monet.waitForPrompt();
    [javac] 								^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2112: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 								linetype = monet.getLineType();
    [javac] 								           ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2120: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 								monet.waitForPrompt();
    [javac] 								^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2121: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 								linetype = monet.getLineType();
    [javac] 								           ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2129: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 										monet.readLine(),
    [javac] 										^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2130: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 										monet.getLineType()
    [javac] 										^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2135: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 									monet.waitForPrompt();
    [javac] 									^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2136: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 									linetype = monet.getLineType();
    [javac] 									           ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2150: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 							tmpLine = monet.readLine();
    [javac] 							          ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2151: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 							linetype = monet.getLineType();
    [javac] 							           ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2159: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 							tmpLine = monet.readLine();
    [javac] 							          ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2160: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 							linetype = monet.getLineType();
    [javac] 							           ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2172: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 							error = monet.waitForPrompt();
    [javac] 							        ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2173: cannot find symbol
    [javac] symbol  : variable monet
    [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList
    [javac] 							linetype = monet.getLineType();
    [javac] 							           ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDataSource.java:40: nl.cwi.monetdb.jdbc.MonetDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
    [javac] public class MonetDataSource implements DataSource {
    [javac]        ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java:31: nl.cwi.monetdb.jdbc.MonetDatabaseMetaData is not abstract and does not override abstract method getFunctionColumns(java.lang.String,java.lang.String,java.lang.String,java.lang.String) in java.sql.DatabaseMetaData
    [javac] public class MonetDatabaseMetaData implements DatabaseMetaData {
    [javac]        ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetResultSet.java:48: nl.cwi.monetdb.jdbc.MonetResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
    [javac] public class MonetResultSet implements ResultSet {
    [javac]        ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetResultSet.java:872: <anonymous nl.cwi.monetdb.jdbc.MonetResultSet$1> is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
    [javac] 		return(new ResultSetMetaData() {
    [javac] 		                               ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetStatement.java:47: nl.cwi.monetdb.jdbc.MonetStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
    [javac] public class MonetStatement implements Statement {
    [javac]        ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java:51: nl.cwi.monetdb.jdbc.MonetPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement
    [javac] public class MonetPreparedStatement
    [javac]        ^
    [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java:293: <anonymous nl.cwi.monetdb.jdbc.MonetPreparedStatement$1> is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
    [javac] 		return(new ParameterMetaData() {
    [javac] 		                               ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 37 errors


More information about the developers-list mailing list