erorr while bulding reference application 2.7

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

I tried the following:

i installed first the legacy UI, every thing is Ok and I can access the application.

then I tried to use the module manager from within the admin panel, and the module that cause the problem is the app framework module

Can you paste the entire log at pastebin.com?

thanks for your response

here the pastepin

https://pastebin.com/5wab3DaG

This does not have any stack trace. Do you have other log files?

1 Like

@oshouip have you also seen the Release Notes ?

http://pasted.co/a6aba0b9

http://pasted.co/5399eea4

http://pasted.co/79883d18

http://pasted.co/15decb89

http://pasted.co/b0553833

http://pasted.co/540e721e

http://pasted.co/fc400ed1

http://pasted.co/232c00a8

sorry for late response, here are all my logs

yes i looked at it, but I still not able to solve the problem

Do you mind using some other paste site like pastebin.com?

https://pastebin.com/ujczGJ0v

https://pastebin.com/KhEsmBNA

https://pastebin.com/p6j6z9wD

https://pastebin.com/91eNTX43

https://pastebin.com/N1wFdDqB

https://pastebin.com/0ppY6ErA

https://pastebin.com/bpL9f4Z6

two of my files are more than upper limit for the free pastebin account

thank for your help

  1. Stop tomcat

  2. Delete all log files

  3. Start tomcat and reproduce the problem

Then send the logs again.

localhost_access_log.2018-01-27 https://pastebin.com/dn7b83JG

catalina.2018-01-27 https://pastebin.com/bgSSxFmT

tomcat9-stderr.2018-01-27 https://pastebin.com/VH94fBKC

localhost.2018-01-27 https://pastebin.com/WS7m5dbK

tomcat9-stdout.2018-01-27 ((divided)) https://pastebin.com/Spj5NrcK https://pastebin.com/Gy9DtFGJ

commons-daemon.2018-01-27 https://pastebin.com/mQtD3cgM

What does this return? mvn -v