harisu
(harisu fanyui)
December 17, 2018, 6:46am
1
Hello,
I am working on completing part of the work i started ie adding passwordreset via email end points to the rest webservice. I have been getting some failures and tried figuring out what is wrong and couldn’t get it until i moved back to master then i got the same build failure. Below is the exact message i get after i rebase with upstream master. i remember i had it working on the branch i was working on until recently when i rebase. Even on a master branch which doesnot have my work i still get the same failure.
I will appreciate some assistance in figuring out what is wrong.
and Here # Created at 2018-12-17T07:28:38.402java.lang.NoClassDefFoundError: org/openmr - Pastebin.com is found the result of the /openmrs-module-webservices.rest/omod-2.2/target/surefire-report file
dkayiwa
(Daniel Kayiwa)
December 17, 2018, 8:47am
2
Does a fresh clone of this module compile successfully?
harisu
(harisu fanyui)
December 17, 2018, 9:42am
4
@dkayiwa I just finished compiling a fresh clone and get the exact same error above
dkayiwa
(Daniel Kayiwa)
December 17, 2018, 9:55am
5
Can you share a pastebin error log for the fresh clone?
harisu
(harisu fanyui)
December 17, 2018, 10:07am
6
dkayiwa
(Daniel Kayiwa)
December 17, 2018, 10:17am
7
Can you also pastebin the contents of the pom.xml file for your local omod-2.2 folder?
harisu
(harisu fanyui)
December 17, 2018, 10:20am
8
dkayiwa
(Daniel Kayiwa)
December 17, 2018, 10:28am
9
What does this command return? mvn -v
harisu
(harisu fanyui)
December 17, 2018, 10:30am
10
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: /usr/local/apache-maven-3.3.9
dkayiwa
(Daniel Kayiwa)
December 17, 2018, 10:32am
11
Are you sure that is all?
harisu
(harisu fanyui)
December 17, 2018, 10:32am
12
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: /usr/local/apache-maven-3.3.9
Java version: 1.8.0_181, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre
Default locale: en_CM, platform encoding: UTF-8
OS name: “mac os x”, version: “10.13.6”, arch: “x86_64”, family: “mac”
MacBook-Pro-de-MacBook:openmrs-module-webservices.rest harisu$
dkayiwa
(Daniel Kayiwa)
December 17, 2018, 10:41am
13
Do you think you can wipe out your .m2 folder and compile again?
harisu
(harisu fanyui)
December 17, 2018, 10:44am
14
Ok, So I shouldn’t compile core this time around?. because last i cleared .m2 I compiled core then followed by restwebservice.
harisu
(harisu fanyui)
December 19, 2018, 4:40pm
16
Thanks clearing the .m2 folder did resolve the issue.