You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Borut Bolčina <bo...@gmail.com> on 2007/08/30 20:31:00 UTC

[C3.0M1] Build error

Hello,

after checking out Cayenne 3.0 from subversion repository
https://svn.apache.org/repos/asf/cayenne/main/trunk/
and executing
mvn -Dmaven.test.skip=true install
I get
...
[INFO] [cayenne-build:date {execution: date}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 778 source files to
C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\access\DataNode.java:[316,10]
org.apache.cayenne.access.DataNode.TransactionDataSource is not
abstract and does not override abstract method isWrapper
For(java.lang.Class) in java.sql.Wrapper

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\conf\NodeDataSource.java:[38,0
] org.apache.cayenne.conf.NodeDataSource is not abstract and does not
override abstract method isWrapperFor(java.lang.Cl
ass) in java.sql.Wrapper

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\conn\DriverDataSource.java:[38
,7] org.apache.cayenne.conn.DriverDataSource is not abstract and does
not override abstract method isWrapperFor(java.lan
g.Class) in java.sql.Wrapper

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\util\MemoryBlob.java:[40,7]
or
g.apache.cayenne.util.MemoryBlob is not abstract and does not override
abstract method getBinaryStream(long,long) in jav
a.sql.Blob

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\project\ProjectDataSource.java
:[33,7] org.apache.cayenne.project.ProjectDataSource is not abstract
and does not override abstract method isWrapperFor(
java.lang.Class) in java.sql.Wrapper

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\conn\ConnectionWrapper.java:[4
0,7] org.apache.cayenne.conn.ConnectionWrapper is not abstract and
does not override abstract method createStruct(java.l
ang.String,java.lang.Object[]) in java.sql.Connection

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\conn\PooledConnectionImpl.java
:[42,7] org.apache.cayenne.conn.PooledConnectionImpl is not abstract
and does not override abstract method removeStateme
ntEventListener(javax.sql.StatementEventListener) in javax.sql.PooledConnection

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\conn\PoolManager.java:[43,7]
o
rg.apache.cayenne.conn.PoolManager is not abstract and does not
override abstract method isWrapperFor(java.lang.Class) i
n java.sql.Wrapper

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\access\TransactionConnectionDe
corator.java:[41,0]
org.apache.cayenne.access.TransactionConnectionDecorator is not
abstract and does not override abstr
act method createStruct(java.lang.String,java.lang.Object[]) in
java.sql.Connection

C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main\java\org\apache\cayenne\util\MemoryClob.java:[40,7]
or
g.apache.cayenne.util.MemoryClob is not abstract and does not override
abstract method getCharacterStream(long,long) in
java.sql.Clob


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30 seconds
[INFO] Finished at: Thu Aug 30 20:11:38 CEST 2007
[INFO] Final Memory: 18M/63M
[INFO] ------------------------------------------------------------------------

I have
Maven version: 2.0.7
Java version: 1.6.0_01
OS name: "windows xp" version: "5.1" arch: "x86"


-Borut

Re: [C3.0M1] Build error

Posted by Borut Bolčina <bo...@gmail.com>.
Hi,

yes - with Java 5 the build succeeds. Maybe there should be a warning on
Building Cayenne page about Java 6 incompatibility.

Thanks,
Borut

2007/8/30, Andrus Adamchik <an...@objectstyle.org>:
> Hi Borut,
>
> That's a Java 6 symptom. Try building with Java 5.
>
> Cheers,
> Andrus
>
> On Aug 30, 2007, at 9:31 PM, Borut Bolčina wrote:
>
> > Hello,
> >
> > after checking out Cayenne 3.0 from subversion repository
> > https://svn.apache.org/repos/asf/cayenne/main/trunk/
> > and executing
> > mvn -Dmaven.test.skip=true install
> > I get
> > ...
> > [INFO] [cayenne-build:date {execution: date}]
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Compiling 778 source files to
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\target
> > \classes
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Compilation failure
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\access\DataNode.java:[316,10]
> > org.apache.cayenne.access.DataNode.TransactionDataSource is not
> > abstract and does not override abstract method isWrapper
> > For(java.lang.Class) in java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conf\NodeDataSource.java:[38,0
> > ] org.apache.cayenne.conf.NodeDataSource is not abstract and does not
> > override abstract method isWrapperFor(java.lang.Cl
> > ass) in java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conn\DriverDataSource.java:[38
> > ,7] org.apache.cayenne.conn.DriverDataSource is not abstract and does
> > not override abstract method isWrapperFor(java.lan
> > g.Class) in java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\util\MemoryBlob.java:[40,7]
> > or
> > g.apache.cayenne.util.MemoryBlob is not abstract and does not override
> > abstract method getBinaryStream(long,long) in jav
> > a.sql.Blob
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\project\ProjectDataSource.java
> > :[33,7] org.apache.cayenne.project.ProjectDataSource is not abstract
> > and does not override abstract method isWrapperFor(
> > java.lang.Class) in java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conn\ConnectionWrapper.java:[4
> > 0,7] org.apache.cayenne.conn.ConnectionWrapper is not abstract and
> > does not override abstract method createStruct(java.l
> > ang.String,java.lang.Object[]) in java.sql.Connection
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conn\PooledConnectionImpl.java
> > :[42,7] org.apache.cayenne.conn.PooledConnectionImpl is not abstract
> > and does not override abstract method removeStateme
> > ntEventListener(javax.sql.StatementEventListener) in
> > javax.sql.PooledConnection
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conn\PoolManager.java:[43,7]
> > o
> > rg.apache.cayenne.conn.PoolManager is not abstract and does not
> > override abstract method isWrapperFor(java.lang.Class) i
> > n java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\access\TransactionConnectionDe
> > corator.java:[41,0]
> > org.apache.cayenne.access.TransactionConnectionDecorator is not
> > abstract and does not override abstr
> > act method createStruct(java.lang.String,java.lang.Object[]) in
> > java.sql.Connection
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\util\MemoryClob.java:[40,7]
> > or
> > g.apache.cayenne.util.MemoryClob is not abstract and does not override
> > abstract method getCharacterStream(long,long) in
> > java.sql.Clob
> >
> >
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Total time: 30 seconds
> > [INFO] Finished at: Thu Aug 30 20:11:38 CEST 2007
> > [INFO] Final Memory: 18M/63M
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> >
> > I have
> > Maven version: 2.0.7
> > Java version: 1.6.0_01
> > OS name: "windows xp" version: "5.1" arch: "x86"
> >
> >
> > -Borut
> >
>
>

Re: [C3.0M1] Build error

Posted by Kevin Menard <km...@servprise.com>.
On 8/30/07 2:41 PM, "Andrus Adamchik" <an...@objectstyle.org> wrote:

> Hi Borut,
> 
> That's a Java 6 symptom. Try building with Java 5.
> 
> Cheers,
> Andrus

Yeap.  It sure was nice of SUN to go ahead and change well-established
interfaces.  They dumb down just about every new feature in the guise of
backwards compatibility, but then break something as ubiquitous as JDBC.

-- 
Kevin


Re: [C3.0M1] Build error

Posted by Andrus Adamchik <an...@objectstyle.org>.
Hi Borut,

That's a Java 6 symptom. Try building with Java 5.

Cheers,
Andrus

On Aug 30, 2007, at 9:31 PM, Borut Bolčina wrote:

> Hello,
>
> after checking out Cayenne 3.0 from subversion repository
> https://svn.apache.org/repos/asf/cayenne/main/trunk/
> and executing
> mvn -Dmaven.test.skip=true install
> I get
> ...
> [INFO] [cayenne-build:date {execution: date}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 778 source files to
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\target 
> \classes
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD FAILURE
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Compilation failure
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\access\DataNode.java:[316,10]
> org.apache.cayenne.access.DataNode.TransactionDataSource is not
> abstract and does not override abstract method isWrapper
> For(java.lang.Class) in java.sql.Wrapper
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\conf\NodeDataSource.java:[38,0
> ] org.apache.cayenne.conf.NodeDataSource is not abstract and does not
> override abstract method isWrapperFor(java.lang.Cl
> ass) in java.sql.Wrapper
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\conn\DriverDataSource.java:[38
> ,7] org.apache.cayenne.conn.DriverDataSource is not abstract and does
> not override abstract method isWrapperFor(java.lan
> g.Class) in java.sql.Wrapper
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\util\MemoryBlob.java:[40,7]
> or
> g.apache.cayenne.util.MemoryBlob is not abstract and does not override
> abstract method getBinaryStream(long,long) in jav
> a.sql.Blob
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\project\ProjectDataSource.java
> :[33,7] org.apache.cayenne.project.ProjectDataSource is not abstract
> and does not override abstract method isWrapperFor(
> java.lang.Class) in java.sql.Wrapper
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\conn\ConnectionWrapper.java:[4
> 0,7] org.apache.cayenne.conn.ConnectionWrapper is not abstract and
> does not override abstract method createStruct(java.l
> ang.String,java.lang.Object[]) in java.sql.Connection
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\conn\PooledConnectionImpl.java
> :[42,7] org.apache.cayenne.conn.PooledConnectionImpl is not abstract
> and does not override abstract method removeStateme
> ntEventListener(javax.sql.StatementEventListener) in  
> javax.sql.PooledConnection
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\conn\PoolManager.java:[43,7]
> o
> rg.apache.cayenne.conn.PoolManager is not abstract and does not
> override abstract method isWrapperFor(java.lang.Class) i
> n java.sql.Wrapper
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\access\TransactionConnectionDe
> corator.java:[41,0]
> org.apache.cayenne.access.TransactionConnectionDecorator is not
> abstract and does not override abstr
> act method createStruct(java.lang.String,java.lang.Object[]) in
> java.sql.Connection
>
> C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main 
> \java\org\apache\cayenne\util\MemoryClob.java:[40,7]
> or
> g.apache.cayenne.util.MemoryClob is not abstract and does not override
> abstract method getCharacterStream(long,long) in
> java.sql.Clob
>
>
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Total time: 30 seconds
> [INFO] Finished at: Thu Aug 30 20:11:38 CEST 2007
> [INFO] Final Memory: 18M/63M
> [INFO]  
> ---------------------------------------------------------------------- 
> --
>
> I have
> Maven version: 2.0.7
> Java version: 1.6.0_01
> OS name: "windows xp" version: "5.1" arch: "x86"
>
>
> -Borut
>