← Back to team overview

dhis2-devs team mailing list archive

Re: Build fail on trunk

 

Update to JDK 1.8.0_60 fixed the issue.

Thanks Morten

On Mon, Oct 19, 2015 at 2:25 PM Morten Olav Hansen <mortenoh@xxxxxxxxx>
wrote:

> Yes, please try that.. also try to update to very latest Java 8, I can
> confirm it working here locally.. and its also building on the CI server
>
> --
> Morten
>
> On Mon, Oct 19, 2015 at 2:22 PM, Long Ngo Thanh <
> long.hispvietnam@xxxxxxxxx> wrote:
>
>> Hi Morten,
>>
>> I have Java 8 on my computer and my JAVA_HOME is pointing to jdk 1.8.0.
>> Let me try to clean the maven repo on my computer and build it again.
>>
>>
>>
>> On Mon, Oct 19, 2015 at 2:19 PM Morten Olav Hansen <mortenoh@xxxxxxxxx>
>> wrote:
>>
>>> Hi Long
>>>
>>> Are you sure you have updated to Java 8 locally? it should build fine
>>> now..
>>>
>>> --
>>> Morten
>>>
>>> On Mon, Oct 19, 2015 at 1:57 PM, Long Ngo Thanh <
>>> long.hispvietnam@xxxxxxxxx> wrote:
>>>
>>>> Hi team,
>>>>
>>>> I got error while trying to compile the code on trunk rev 20753
>>>>
>>>> [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>>> (default-compile) on project dhis-api: Compilation failure
>>>> [ERROR]
>>>> \Workspace\dhis-trunk\dhis2\dhis-2\dhis-api\src\main\java\org\hisp\dhis\common\IdentifiableObjectUtils.java:[325,31]
>>>> error: no suitable method found for
>>>> collect(Collector<IdentifiableObject,CAP#1,Map<String,String>>)
>>>>
>>>> Anybody has the same issue?
>>>>
>>>> --
>>>> Best regards,
>>>> Long
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>> --
>> Best regards,
>> Long
>>
>
> --
Best regards,
Long

References