Trouble with running DHIS2 on local machine.

Fixed right now.

Lars

···

On Sun, Jun 9, 2013 at 9:07 PM, Yuriy Ivanovich yuriybugryn@gmail.com wrote:

Yuriy Bugryn | Junior Software Developer

skype : tojayura

Trouble with running DHIS2 on local machine.

Hello guys,

I try run DHIS2 on my local machine using this guide http://dhis2.org/development.

And i have another problem:

When I run mvn install on dhis-2 directory build has successfully finished but when I run mvn install on dhis-2/dhis-web directory I have compilation error

main:
[mkdir] Created dir: /home/yuriy-bugryn/Development/dhis2/dhis-2/dhis-web/dhis-web-mapping/target/classes

[INFO] Executed tasks
[INFO]
[INFO] — maven-resources-plugin:2.5:resources (default-resources) @ dhis-web-mapping —
[debug] execute contextualize
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.

[INFO] Copying 10 resources
[INFO]
[INFO] — maven-compiler-plugin:2.3.2:compile (default-compile) @ dhis-web-mapping —
[INFO] Compiling 16 source files to /home/yuriy-bugryn/Development/dhis2/dhis-2/dhis-web/dhis-web-mapping/target/classes

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/yuriy-bugryn/Development/dhis2/dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetInfrastructuralDataElementMapValuesAction.java:[32,32] cannot find symbol

symbol : class AggregatedMapValue
location: package org.hisp.dhis.aggregation
[ERROR] /home/yuriy-bugryn/Development/dhis2/dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetInfrastructuralDataElementMapValuesAction.java:[77,23] cannot find symbol

symbol : class AggregatedMapValue
location: class org.hisp.dhis.mapping.action.GetInfrastructuralDataElementMapValuesAction
[ERROR] /home/yuriy-bugryn/Development/dhis2/dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetInfrastructuralDataElementMapValuesAction.java:[79,22] cannot find symbol

symbol : class AggregatedMapValue
location: class org.hisp.dhis.mapping.action.GetInfrastructuralDataElementMapValuesAction
[ERROR] /home/yuriy-bugryn/Development/dhis2/dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetInfrastructuralDataElementMapValuesAction.java:[91,31] cannot find symbol

symbol : method getInfrastructuralDataElementMapValues(java.lang.Integer,java.lang.Integer)
location: interface org.hisp.dhis.mapping.MappingService
[INFO] 4 errors

I try run it on Ubuntu 12.04 Lts using Apache Maven 3.0.4 and Java 1.6.0_38. Using latest code from Trunk (revision 11130)

Please help me resolve this problem .

Thanks,