I tried the stand alone version to get my self familier with openMRS, then I decieded to implement a version for production. I installed java 8, tomcat 9 and MySQL on my windows 10 machine I installed openMRS platform successfully without any problems, when I tried to add the addons in the modules directory in the following path (windows/system32/config/applicationdata/openmrs/modules) the application gives my the following error:
Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘conversionService’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.Set
server logs:
0:0:0:0:0:0:0:1 - - [22/Dec/2017:06:20:45 +0200] “GET /openmrs HTTP/1.1” 302 - 0:0:0:0:0:0:0:1 - - [22/Dec/2017:06:20:45 +0200] “GET /openmrs/ HTTP/1.1” 302 - 0:0:0:0:0:0:0:1 - - [22/Dec/2017:06:20:46 +0200] “GET /openmrs/initialsetup HTTP/1.1” 200 255287 0:0:0:0:0:0:0:1 - - [22/Dec/2017:06:20:46 +0200] “GET /openmrs/initfilter/scripts/initialsetup.js HTTP/1.1” 200 921 0:0:0:0:0:0:0:1 - - [22/Dec/2017:06:20:46 +0200] “GET /openmrs/initfilter/scripts/jquery/jquery.min.js HTTP/1.1” 200 93968
and
22-Dec-2017 06:20:44.937 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\openmrs.war] has finished in [361,726] ms 22-Dec-2017 06:20:44.937 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs] 22-Dec-2017 06:20:44.975 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs] has finished in [38] ms 22-Dec-2017 06:20:44.975 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager] 22-Dec-2017 06:20:45.075 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager] has finished in [99] ms 22-Dec-2017 06:20:45.075 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT] 22-Dec-2017 06:20:45.137 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT] has finished in [62] ms 22-Dec-2017 06:20:45.153 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”] 22-Dec-2017 06:20:45.176 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-8009”] 22-Dec-2017 06:20:45.186 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 362150 ms