FAQ
This seems like a genuine failure for once. Don't have a chance to try it tonight myself...
On Sep 14, 2011, at 8:21 PM, Apache Jenkins Server wrote:

[ERROR] <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=HSQLDB,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/postgres/PostgresSniffer.java>:[45,16] incompatible types
[ERROR] found : java.lang.Object
[ERROR] required: org.apache.cayenne.dba.DbAdapter ...
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)

Search Discussions

  • Dzmitry Kazimirchyk at Sep 14, 2011 at 6:44 pm
    Yeah, I didn't notice. (Probably we should finally configure Jenkins to
    use our new version naming pattern.)

    I think it happens because of returning this:

    objectFactory.newInstance(DbAdapter.class,
    PostgresAdapter.class.getName())

    without explicit casting to DbAdapter.

    Probably java compiler configuration on Jenkins doesn't allow this. As
    for me, everything builds fine for both 1.5 and 1.6 java versions.
    On 09/14/2011 08:28 PM, Andrus Adamchik wrote:
    This seems like a genuine failure for once. Don't have a chance to try it tonight myself...
    On Sep 14, 2011, at 8:21 PM, Apache Jenkins Server wrote:

    [ERROR]<https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=HSQLDB,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/postgres/PostgresSniffer.java>:[45,16] incompatible types
    [ERROR] found : java.lang.Object
    [ERROR] required: org.apache.cayenne.dba.DbAdapter ...
    Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
    at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriescayenne
postedSep 14, '11 at 5:29p
activeSep 14, '11 at 6:44p
posts2
users2
websitecayenne.apache.org

People

Translate

site design / logo © 2021 Grokbase