Eclipse/ BUILD ERROR

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
DroieX
Posts: 2
Joined: Wed Dec 16, 2009 6:46 pm

Eclipse/ BUILD ERROR

Post by DroieX »

Hello!
I used search but couldnt find this kind of problem. And I would be MORE than happy if I would get some help here, ty!


Buildfile: C:\workspace\c3p0\build.xml
init:
relproj:
dist:
init:
compile:
jar:
init-debuggen:
debuggen:
subst:
init-codegen:
beangen:
[echo] Some warnings are expected here. Don't worry about them.
newproxygen:
codegen:
compile-common:
[javac] Compiling 202 source files to C:\workspace\c3p0\build\classes
[javac] C:\workspace\c3p0\build\codegen\com\mchange\v2\c3p0\impl\NewProxyConnection.java:1339: unreported exception java.sql.SQLException; must be caught or declared to be thrown
[javac] throw SqlUtils.toSQLException("You can't operate on a closed Connection!!!", exc);
[javac] ^
[javac] C:\workspace\c3p0\build\codegen\com\mchange\v2\c3p0\impl\NewProxyConnection.java:1347: unreported exception java.sql.SQLException; must be caught or declared to be thrown
[javac] throw parentPooledConnection.handleThrowable( exc );
[javac] ^
[javac] C:\workspace\c3p0\build\codegen\com\mchange\v2\c3p0\impl\NewProxyConnection.java:1349: unreported exception java.sql.SQLException; must be caught or declared to be thrown
[javac] else throw SqlUtils.toSQLException( exc );
[javac] ^
[javac] C:\workspace\c3p0\build\codegen\com\mchange\v2\c3p0\impl\NewProxyConnection.java:1365: unreported exception java.sql.SQLException; must be caught or declared to be thrown
[javac] throw SqlUtils.toSQLException("You can't operate on a closed Connection!!!", exc);
[javac] ^
[javac] C:\workspace\c3p0\build\codegen\com\mchange\v2\c3p0\impl\NewProxyConnection.java:1373: unreported exception java.sql.SQLException; must be caught or declared to be thrown
[javac] throw parentPooledConnection.handleThrowable( exc );
[javac] ^
[javac] C:\workspace\c3p0\build\codegen\com\mchange\v2\c3p0\impl\NewProxyConnection.java:1375: unreported exception java.sql.SQLException; must be caught or declared to be thrown
[javac] else throw SqlUtils.toSQLException( exc );
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\impl\NewPooledConnection.java:38: com.mchange.v2.c3p0.impl.NewPooledConnection is not abstract and does not override abstract method removeStatementEventListener(javax.sql.StatementEventListener) in javax.sql.PooledConnection
[javac] public final class NewPooledConnection extends AbstractC3P0PooledConnection{
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\ComboPooledDataSource.java:42: com.mchange.v2.c3p0.ComboPooledDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
[javac] public final class ComboPooledDataSource extends AbstractPoolBackedDataSource implements PooledDataSource, Serializable, Referenceable
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\DriverManagerDataSource.java:45: com.mchange.v2.c3p0.DriverManagerDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
[javac] public final class DriverManagerDataSource extends DriverManagerDataSourceBase implements DataSource
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\JndiRefForwardingDataSource.java:47: com.mchange.v2.c3p0.JndiRefForwardingDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
[javac] final class JndiRefForwardingDataSource extends JndiRefDataSourceBase implements DataSource
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\PoolBackedDataSource.java:28: com.mchange.v2.c3p0.PoolBackedDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
[javac] public final class PoolBackedDataSource extends AbstractPoolBackedDataSource implements PooledDataSource
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\impl\C3P0PooledConnection.java:39: com.mchange.v2.c3p0.impl.C3P0PooledConnection is not abstract and does not override abstract method removeStatementEventListener(javax.sql.StatementEventListener) in javax.sql.PooledConnection
[javac] public final class C3P0PooledConnection extends AbstractC3P0PooledConnection
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\impl\C3P0PooledConnection.java:503: com.mchange.v2.c3p0.impl.C3P0PooledConnection.StatementProxyingSetManagedResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
[javac] private static class StatementProxyingSetManagedResultSet extends SetManagedResultSet
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\impl\C3P0PooledConnection.java:618: ProxyCallableStatement is not abstract and does not override abstract method setNClob(java.lang.String,java.io.Reader) in java.sql.CallableStatement
[javac] class ProxyCallableStatement extends FilterCallableStatement implements C3P0ProxyStatement
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\impl\C3P0PooledConnection.java:655: ProxyPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement
[javac] class ProxyPreparedStatement extends FilterPreparedStatement implements C3P0ProxyStatement
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\impl\C3P0PooledConnection.java:692: ProxyStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
[javac] class ProxyStatement extends FilterStatement implements C3P0ProxyStatement
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\impl\NullStatementSetManagedResultSet.java:37: com.mchange.v2.c3p0.impl.NullStatementSetManagedResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
[javac] final class NullStatementSetManagedResultSet extends SetManagedResultSet
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\impl\SetManagedDatabaseMetaData.java:30: com.mchange.v2.c3p0.impl.SetManagedDatabaseMetaData 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] final class SetManagedDatabaseMetaData extends FilterDatabaseMetaData
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\impl\SnatchFromSetResultSet.java:30: com.mchange.v2.c3p0.impl.SnatchFromSetResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
[javac] final class SnatchFromSetResultSet extends FilterResultSet
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\test\FreezableDriverManagerDataSource.java:49: com.mchange.v2.c3p0.test.FreezableDriverManagerDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper
[javac] public final class FreezableDriverManagerDataSource extends DriverManagerDataSourceBase implements DataSource
[javac] ^
[javac] C:\workspace\c3p0\src\classes\com\mchange\v2\c3p0\util\CloseReportingConnectionWrapper.java:29: com.mchange.v2.c3p0.util.CloseReportingConnectionWrapper is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
[javac] public class CloseReportingConnectionWrapper extends FilterConnection
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 21 errors

BUILD FAILED
C:\workspace\c3p0\build.xml:256: Compile failed; see the compiler error output for details.

Total time: 2 seconds
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Eclipse/ BUILD ERROR

Post by Probe »

why do you need to build c3p0?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Eclipse/ BUILD ERROR

Post by jurchiks »

Probe wrote:why do you need to build c3p0?
just wanted to ask the same question :D
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply