dhis2 2.13 version Compiling error

Dear All,

I checked out dhis2 2.13 revision 12931 and using apache-maven-3.0.5,
When i build source code with “mvn clean -Dmaven.test.skip=true install” command, i am getting error. Here i attached the error logs file. and two error is given bellow too.

"[ERROR] \Source\2.13_global\2.13\dhis-2\dhis-support\dhis-support-system\src\main\java\org\hisp\dhis\system\util\ReflectionUtils.java:[261,31] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object

[ERROR] \Source\2.13_global\2.13\dhis-2\dhis-support\dhis-support-system\src\main\java\org\hisp\dhis\system\util\ReflectionUtils.java:[298,31] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object

[INFO] 2 errors "

However, could you please help me out from this prob,

Thanks

Best Regards

Fatema Uddin ----------------------------------------

Technical Advisor HIS

Priority Area Health

Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh

Office location:

Room # 304, Shshid Dr.Milan Bhavan, Management Information System,

Directorate General of Health Services of MoHFW,

Mohakhali, Dhaka-1212, Bangladesh

Phone: +880 2 881 64 59

Fax: +880 2 881 38 75

Building BUG.txt (17.2 KB)

Building_bugs_X.txt (727 KB)

Dear Fatema,

we have seen this with a few java 6 jdk. Can you please try to upgrade to latest java 7 jdk (if you haven’t already), open jdk 7 will be fine.

regards,

Lars

···

On Sun, Dec 22, 2013 at 5:36 AM, Uddin Fatema fatemacse@gmail.com wrote:

Dear All,

I checked out dhis2 2.13 revision 12931 and using apache-maven-3.0.5,
When i build source code with “mvn clean -Dmaven.test.skip=true install” command, i am getting error. Here i attached the error logs file. and two error is given bellow too.

"[ERROR] \Source\2.13_global\2.13\dhis-2\dhis-support\dhis-support-system\src\main\java\org\hisp\dhis\system\util\ReflectionUtils.java:[261,31] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object

[ERROR] \Source\2.13_global\2.13\dhis-2\dhis-support\dhis-support-system\src\main\java\org\hisp\dhis\system\util\ReflectionUtils.java:[298,31] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object

[INFO] 2 errors "

However, could you please help me out from this prob,

Thanks

Best Regards

Fatema Uddin ----------------------------------------

Technical Advisor HIS

Priority Area Health

Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh

Office location:

Room # 304, Shshid Dr.Milan Bhavan, Management Information System,

Directorate General of Health Services of MoHFW,

Mohakhali, Dhaka-1212, Bangladesh

Phone: +880 2 881 64 59

Fax: +880 2 881 38 75


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

Dear Lars,

Thank you very much. yes i have jdk 7.

Last time when i was working with OpenMRS i change my Java_home environment variable to jdk 6.

now again i changed it as jdk 7 as per your suggestion. Its working now properly.

I tried and tried but could not able to remember my prob.

Thanks a lot to your solution.

Best Regards

···

On Sun, Dec 22, 2013 at 2:37 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Dear Fatema,

we have seen this with a few java 6 jdk. Can you please try to upgrade to latest java 7 jdk (if you haven’t already), open jdk 7 will be fine.

regards,

Lars


Fatema Uddin ----------------------------------------

Technical Advisor HIS

Priority Area Health

Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh

Office location:

Room # 304, Shshid Dr.Milan Bhavan, Management Information System,

Directorate General of Health Services of MoHFW,

Mohakhali, Dhaka-1212, Bangladesh

Phone: +880 2 881 64 59

Fax: +880 2 881 38 75

On Sun, Dec 22, 2013 at 5:36 AM, Uddin Fatema fatemacse@gmail.com wrote:

Dear All,

I checked out dhis2 2.13 revision 12931 and using apache-maven-3.0.5,

When i build source code with “mvn clean -Dmaven.test.skip=true install” command, i am getting error. Here i attached the error logs file. and two error is given bellow too.

"[ERROR] \Source\2.13_global\2.13\dhis-2\dhis-support\dhis-support-system\src\main\java\org\hisp\dhis\system\util\ReflectionUtils.java:[261,31] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object

[ERROR] \Source\2.13_global\2.13\dhis-2\dhis-support\dhis-support-system\src\main\java\org\hisp\dhis\system\util\ReflectionUtils.java:[298,31] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object

[INFO] 2 errors "

However, could you please help me out from this prob,

Thanks

Best Regards

Fatema Uddin ----------------------------------------

Technical Advisor HIS

Priority Area Health

Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh

Office location:

Room # 304, Shshid Dr.Milan Bhavan, Management Information System,

Directorate General of Health Services of MoHFW,

Mohakhali, Dhaka-1212, Bangladesh

Phone: +880 2 881 64 59

Fax: +880 2 881 38 75


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

Great.

···

On Sun, Dec 22, 2013 at 10:07 AM, Uddin Fatema fatemacse@gmail.com wrote:

Dear Lars,

Thank you very much. yes i have jdk 7.

Last time when i was working with OpenMRS i change my Java_home environment variable to jdk 6.

now again i changed it as jdk 7 as per your suggestion. Its working now properly.

I tried and tried but could not able to remember my prob.

Thanks a lot to your solution.

Best Regards

On Sun, Dec 22, 2013 at 2:37 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Dear Fatema,

we have seen this with a few java 6 jdk. Can you please try to upgrade to latest java 7 jdk (if you haven’t already), open jdk 7 will be fine.

regards,

Lars


Fatema Uddin ----------------------------------------

Technical Advisor HIS

Priority Area Health

Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh

Office location:

Room # 304, Shshid Dr.Milan Bhavan, Management Information System,

Directorate General of Health Services of MoHFW,

Mohakhali, Dhaka-1212, Bangladesh

Phone: +880 2 881 64 59

Fax: +880 2 881 38 75

On Sun, Dec 22, 2013 at 5:36 AM, Uddin Fatema fatemacse@gmail.com wrote:

Dear All,

I checked out dhis2 2.13 revision 12931 and using apache-maven-3.0.5,

When i build source code with “mvn clean -Dmaven.test.skip=true install” command, i am getting error. Here i attached the error logs file. and two error is given bellow too.

"[ERROR] \Source\2.13_global\2.13\dhis-2\dhis-support\dhis-support-system\src\main\java\org\hisp\dhis\system\util\ReflectionUtils.java:[261,31] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object

[ERROR] \Source\2.13_global\2.13\dhis-2\dhis-support\dhis-support-system\src\main\java\org\hisp\dhis\system\util\ReflectionUtils.java:[298,31] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object

[INFO] 2 errors "

However, could you please help me out from this prob,

Thanks

Best Regards

Fatema Uddin ----------------------------------------

Technical Advisor HIS

Priority Area Health

Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh

Office location:

Room # 304, Shshid Dr.Milan Bhavan, Management Information System,

Directorate General of Health Services of MoHFW,

Mohakhali, Dhaka-1212, Bangladesh

Phone: +880 2 881 64 59

Fax: +880 2 881 38 75


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