# compiling ref app 2.5

**URL:** <https://talk.openmrs.org/t/compiling-ref-app-2-5/9981>\
**Category:** Ask OpenMRS\
**Tags:** refapp-2.4, openmrs\
**Created:** [February 9, 2017, 6:54am UTC](https://talk.openmrs.org/t/compiling-ref-app-2-5/9981 "2017-02-09T06:54:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yadamz](https://talk.openmrs.org/letter_avatar/yadamz/32/6_449c533f586939b6e5f246632a46421f.png) [@yadamz](https://talk.openmrs.org/u/yadamz)\
**Post date:** [February 9, 2017, 6:54am UTC](https://talk.openmrs.org/t/compiling-ref-app-2-5/9981/1 "2017-02-09T06:54:59Z")

</div>

I am trying to compile reference application 2.5 using Eclipse, Java 8. However, the build keep failing. The error is posted here:

[http://pastebin.com/K2mdvsaC](http://pastebin.com/K2mdvsaC)

Any help is highly appreciated

Regards

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [February 9, 2017, 8:37am UTC](https://talk.openmrs.org/t/compiling-ref-app-2-5/9981/2 "2017-02-09T08:37:56Z")

</div>

Do you have enough band width to try wipe out your .m2 folder and then compile again?

---

<div class="post-metadata">

**Author:** ![yadamz](https://talk.openmrs.org/letter_avatar/yadamz/32/6_449c533f586939b6e5f246632a46421f.png) [@yadamz](https://talk.openmrs.org/u/yadamz)\
**Post date:** [February 9, 2017, 6:46pm UTC](https://talk.openmrs.org/t/compiling-ref-app-2-5/9981/3 "2017-02-09T18:46:33Z")

</div>

Thanks @dkayiwaHow would I test for this ? I am using local labtop to compile

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [February 9, 2017, 7:48pm UTC](https://talk.openmrs.org/t/compiling-ref-app-2-5/9981/4 "2017-02-09T19:48:03Z")

</div>

Google for: location of .m2 folder

---

<div class="post-metadata">

**Author:** ![yadamz](https://talk.openmrs.org/letter_avatar/yadamz/32/6_449c533f586939b6e5f246632a46421f.png) [@yadamz](https://talk.openmrs.org/u/yadamz)\
**Post date:** [February 13, 2017, 7:10pm UTC](https://talk.openmrs.org/t/compiling-ref-app-2-5/9981/5 "2017-02-13T19:10:52Z")

</div>

@dkayiwa I compiled it and it is all fine; however, I installed the original modules/war file to test it. Everything is working fine except the registration app. when I click on it, I get JAVA error. This is when I try to register new patient.

This is the error from the log files

[http://pastebin.com/TBdiPB6Y](http://pastebin.com/TBdiPB6Y)

I used Java 8 , Tomacat 8, and the original war file (2.0.1) and modules (2.5). Any idea what went wrong?

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [February 13, 2017, 7:27pm UTC](https://talk.openmrs.org/t/compiling-ref-app-2-5/9981/6 "2017-02-13T19:27:15Z")

</div>

Which version of the registrationapp module do you have? And what is the exact platform version that you are running?

---

<div class="post-metadata">

**Author:** ![yadamz](https://talk.openmrs.org/letter_avatar/yadamz/32/6_449c533f586939b6e5f246632a46421f.png) [@yadamz](https://talk.openmrs.org/u/yadamz)\
**Post date:** [February 13, 2017, 7:40pm UTC](https://talk.openmrs.org/t/compiling-ref-app-2-5/9981/7 "2017-02-13T19:40:41Z")

</div>

@dkayiwa it is

Registration app 1.6 OpenMRS Version 2.1.0 SNAPSHOT Build 0

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [February 13, 2017, 7:59pm UTC](https://talk.openmrs.org/t/compiling-ref-app-2-5/9981/8 "2017-02-13T19:59:56Z")

</div>

That was fixed here [https://github.com/openmrs/openmrs-module-registrationapp/commit/ad687e86c5cba9f003c138cf2872dded4a652f89](https://github.com/openmrs/openmrs-module-registrationapp/commit/ad687e86c5cba9f003c138cf2872dded4a652f89) And hence will be in the version 1.7 release of the module. Are you in position to compile for yourself the latest snapshot version of the registrationapp module?
