Maven cannot find JDK

However m2e is a folder containing automatically generated resources, that need to be deployed on the application server. These generated resources are : pom. properties and MANIFEST.m2e works hand in hand with maven and eclipse. you can as well check that folder from C:\Users\SHARIF.m2\repository. just check it from that directory

@sharif @dkayiwa @herbert24 @prathamesh009

Thank you for the help, everything seems to be working for me now. Just waiting on the tests to finish running.

1 Like

@sharif sir could you help me out with this.
I am following (https://github.com/openmrs/openmrs-core) this Readme and trying to run the core server locally. I am able to complete all steps successfully. But when i go to localhost, after some steps the site is asking me for a password. I don’t know what it is.

I am typing my my-sql password but it is not accepting that. I tried with Admin123 but i got the same result.

Please tell me sir where i am going wrong. Thank you

What are you trying to run basically, Are using sdk ?.The error lies in database connections however, sometimes mysql server seeses to stop when running sdk if your are doin it for the first time, so please always check it to comfirm whether it is running.

Have a look at this for a moment, https://wiki.openmrs.org/display/docs/OpenMRS+SDK feel free to come back to us of any blocker(help) please

Sir basically i am working on openMRS Android client since a time now and i am trying to implement the forgot password functionality in it . I have send a PR for it too but i need to test it locally first to confirm that what i did is working.(for which i am following the openmrs-core readme) I need to carry out the changes listed in this page to test my changes. (https://wiki.openmrs.org/pages/viewpage.action?pageId=216367317)

But that link is showing reseting openmrs account password, not database password, though password may be the same but it depends. hope am not mistaken, since you are working on android client and you wish to test, have a look at this android client server http://devtest04.openmrs.org:8080/openmrs .

Yeah @sharif sir i need to test reseting account password sir but for that i need to use mysql to enter some details in the database. (as mentioned in https://wiki.openmrs.org/pages/viewpage.action?pageId=216367317) For which i was setting the core locally and doing all the stuff.

And sir the link you provided (http://devtest04.openmrs.org:8080/openmrs) can’t be opened.

Please correct if i am wrong anywhere. I want to complete this functionality have been working on this since a lot of time now and i am stuck at this locally setting up the server part.

sorry for that i used it and it does not work

so is there anything you advice me to do sir ?

Try resetting a different mysql password and check, again i would also think of thorough check of your code . You should first think of making your instance to run first

@sharif sir I checked by changing the mysql password but the same thing prevailed.:sweat_smile:
@dkayiwa sir could you suggest something.

Sure @dkayiwa we need your help and clarrification about android client

It has been a long thread. Do you mind giving a summary of what the problem is?

I am following (https://github.com/openmrs/openmrs-core) this Readme and trying to run the core server locally. I am able to complete all steps successfully. But when i go to localhost, after some steps the site is asking me for a password. I don’t know what it is.

I am typing my my-sql password but it is not accepting that. I tried with Admin123 but i got the same result.

All these things i am doing for testing the forgot password functionality in the openMRS android client. I need to carry out the changes listed in this page to test my changes. (https://wiki.openmrs.org/pages/viewpage.action?pageId=216367317)

Please tell me sir where i am going wrong. Thank you

@dkayiwa sir and @f4ww4z sir any suggestions ??

Which MySQL version are you using, make sure it is 5.7?

I faced some similar issues when I first tried installing OpenMRS, but later it worked downgrading MySQL to 5.7

Also are you able to login to MySQL through shell?

@prathamesh009 thank you for suggesting changes. I will try them out .
And yeah i was able to login to MySQL through shell.

after downgrading to MySQL 5.7 will i have to use MySQL password or Admin 123 ??

Hello @vibhorchinda17, any update on the same? After downgrading to MySQL 5.7, it will restart the whole installation proccess, make sure the root password is kept same.

The problem arised because we currently do not support newer versions of MySQL (Post 5.7)

yeah @prathamesh009 i successfully ran the server and continued my thread on the new thread(Testing the reset password feature for Android Client) as this was getting too long.

Thanks for the help :slightly_smiling_face: