What version of Java you are using? Your error seems to point out that you are not using Java 11.
Can you ensure to use Java 11?
What version of Java you are using? Your error seems to point out that you are not using Java 11.
Can you ensure to use Java 11?
@gsasikumar @mayuradesh Hi Sir/Ma’am,
We followed the steps that is provided in the pre registration developers guide and below is a screenshot of our output
Glad to see that build issues got resolved for you.
Please update the properties under the “main\resources” folder and nor the “test\resources” folder.
@mayuradesh updated already but to build what must be the tomcat port number?
Also what Goals must be updated in the edit configuration portal?
@mayuradesh Hi Ma’am,
We have made the required changes of adding the local host address and versions of the jar files. After which we ran the pre-registration UI. But then on we are not able to follow the pre-registration API steps
You can use IDE, to run the PreReg Application as a Java Application
After that using Swagger URL, you can access the endpoints available:
@mayuradesh Hi Ma’am,
We made the changes but still, on the front page, we are unable to get the username and password
Hi
Please check all steps in Developer Notes which explain how to build and run UI code locally using angular proxy.
Using the Angular CLI proxy solution to get around CORS issue - This section has details.
You can run PreReg Application Service locally too.
Change the Target url accordingly.
Hi Ma’am,
After running the PreReg as a Java Application we are facing the below error issue. Please help us resolve this issue
Hi Varsha,
From the logs, error is that you are unable to connect to Postgres SQL database.
Please give correct values in application properties file to connect to your db instance.
~ Mayura
@mayuradesh Hi Ma’am which version of postgresql must be downloaded for running this Maven project?
Please check
Also as mentioned previously too, you will need many other dependencies like KeyCloak, MasterData, KeyManager, MinIO etc as well.
Do you have access to any MOSIP testing env such that you can use corresponding URL’s in your properties files?
Without these you will again run into issues.
Hi Ma’am,
The procedure to be followed to add these dependencies is not given in your developer’s guide, can you please provide us a detailed documentation of the same. Also the database to be added using postgresql is also unclear.
Regarding the access to MOSIP testing env, we have not been provided with anything as such.
Hi Varsha
MOSIP modules are interdependent and so you will need to host many modules like KeyManager, AuthManager etc in some machine which can be accessed from the developer’s local machine.
How to do this deployment is mentioned here Deployment - MOSIP Docs 1.2.0
This includes the PostGres setup too
Also what is the goal of your local PreReg deployment? Depending on that you can decide to create full MOSIP setup or not.
These are MOSIP sandbox details:
If these are accessible to you, you can explore the same.