Hi,

yes, I am building a development branch. the latest version for the
component.

Java version 1.7


On Tue, May 13, 2014 at 3:23 PM, Isuru Perera <[email protected]> wrote:

> What is your Java version?
>
> Try using Oracle JDK 6?
>
>
> On Tue, May 13, 2014 at 3:21 PM, Shani Ranasinghe <[email protected]> wrote:
>
>> Hi,
>>
>> I am getting the following build failure.
>>
>> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
>> org.wso2.carbon.apimgt.impl ---
>> [INFO] Compiling 102 source files to
>> /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/target/classes
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR]
>> /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[362,59]
>> cannot find symbol
>> symbol  : method getLength()
>> location: class org.wso2.carbon.registry.core.pagination.PaginationContext
>>
>> [ERROR]
>> /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[476,61]
>> cannot find symbol
>> symbol  : method getLength()
>> location: class org.wso2.carbon.registry.core.pagination.PaginationContext
>>
>> [ERROR]
>> /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,76]
>> cannot find symbol
>> symbol  : method getLength()
>> location: class org.wso2.carbon.registry.core.pagination.PaginationContext
>>
>> [ERROR]
>> /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,31]
>> operator + cannot be applied to
>> int,org.wso2.carbon.registry.core.pagination.PaginationContext.getLength
>>
>> [ERROR]
>> /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[532,43]
>> incompatible types
>> found   : <nulltype>
>> required: int
>>
>> [ERROR]
>> /home/shani/sranasinghe/carbon/platform/branches/turing/components/apimgt/org.wso2.carbon.apimgt.impl/1.2.2/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java:[1181,61]
>> cannot find symbol
>> symbol  : method getLength()
>> location: class org.wso2.carbon.registry.core.pagination.PaginationContext
>>
>> [INFO] 6 errors
>> [INFO] -------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>>
>>
>>
>> --
>> Thanks and Regards
>> *, Shani Ranasinghe*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273555
>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>



-- 
Thanks and Regards
*,Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to