You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "gil cattaneo (JIRA)" <ji...@apache.org> on 2012/11/19 15:14:57 UTC

[jira] [Commented] (ABDERA-311) fails to build with java 7

    [ https://issues.apache.org/jira/browse/ABDERA-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500250#comment-13500250 ] 

gil cattaneo commented on ABDERA-311:
-------------------------------------

hi at all,
the correct version is 1.1.3-RC1
i have this problems building abedera

[ERROR] COMPILATION ERROR 
[INFO] -------------------------------------------------------------
[ERROR] core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[130,23]
error: reference to locate is ambiguous, 
both method <T#1>locate(String,Object...) in Discover and method <T#2>locate(String,boolean,Object...) 
in Discover match

[ERROR] 
    T#1 extends Object declared in method <T#1>locate(String,Object...)
    T#2 extends Object declared in method <T#2>locate(String,boolean,Object...)
core/src/main/java/org/apache/abdera/util/AbderaConfiguration.java:[190,67] 
error: reference to locate is ambiguous,
both method <T#1>locate(String,Object...) in Discover and method <T#2>locate(String,boolean,Object...)
in Discover match

[ERROR] 
    T#1 extends Object declared in method <T#1>locate(String,Object...)
    T#2 extends Object declared in method <T#2>locate(String,boolean,Object...)
core/src/main/java/org/apache/abdera/util/Discover.java:[50,15]
error: reference to locate is ambiguous, both method <T#1>locate(String,Object...)
in Discover and method <T#2>locate(String,boolean,Object...) in Discover match

[ERROR] COMPILATION ERROR 
[INFO] -------------------------------------------------------------
[ERROR] server/src/main/java/org/apache/abdera/protocol/server/servlet/ServletRequestContext.java:[207,50]
incompatible types
found   : java.util.Enumeration<java.lang.String>
required: java.util.Enumeration<java.lang.Object>

any ideas? 
thanks in advance for every help
                
> fails to build with java 7
> --------------------------
>
>                 Key: ABDERA-311
>                 URL: https://issues.apache.org/jira/browse/ABDERA-311
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 1.1.2
>         Environment: Fedora all version
>            Reporter: gil cattaneo
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira