Build fail on trunk

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

Hi Long

Are you sure you have updated to Java 8 locally? it should build fine now…

···

On Mon, Oct 19, 2015 at 1:57 PM, Long Ngo Thanh long.hispvietnam@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Morten

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.

···


Morten

On Mon, Oct 19, 2015 at 1:57 PM, Long Ngo Thanh long.hispvietnam@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

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

···

On Mon, Oct 19, 2015 at 2:22 PM, Long Ngo Thanh long.hispvietnam@gmail.com 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@gmail.com wrote:

Hi Long

Are you sure you have updated to Java 8 locally? it should build fine now…

Best regards,
Long


Morten


Morten

On Mon, Oct 19, 2015 at 1:57 PM, Long Ngo Thanh long.hispvietnam@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Update to JDK 1.8.0_60 fixed the issue.

Thanks Morten

···


Morten

On Mon, Oct 19, 2015 at 2:22 PM, Long Ngo Thanh long.hispvietnam@gmail.com 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@gmail.com wrote:

Hi Long

Are you sure you have updated to Java 8 locally? it should build fine now…

Best regards,
Long


Morten

On Mon, Oct 19, 2015 at 1:57 PM, Long Ngo Thanh long.hispvietnam@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp