Appointment causing error.

I was successfully able to setup open mrs by copying all modules which are used in reference application.

Now hitting appointment tab produces following error :-

hello @ravi991, please specifiy the jdk version you are using

java -version

openjdk version "1.8.0_242"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)

mvn -v

**Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)**
Java version: 1.8.0_242, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.3", arch: "x86_64", family: "mac"

@ravi991 Can you verify if the appointment module has started successfully. Also, share your openmrs and reference application version you installed and what variant of openmrs (standalone or enterprise).

Thats an internal server error, you can try again make sure your servers(mysql server) is running very well.

INFO - LoggingAdvice.invoke(116) |2020-04-10 19:29:36,853| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: appointmentscheduling.started value: true, 
INFO - LoggingAdvice.invoke(156) |2020-04-10 19:29:36,855| Exiting method saveGlobalProperty
INFO - LoggingAdvice.invoke(116) |2020-04-10 19:29:36,857| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: appointmentscheduling.mandatory value: false, 
INFO - LoggingAdvice.invoke(156) |2020-04-10 19:29:36,858| Exiting method saveGlobalProperty

appointment module started successfully. I built openmrs core-2.0 locally and copied all modules used in reference application 2.9.0