Hello, I have created my own module for OpenMRS based on OpenMRS SDK - Documentation - OpenMRS Wiki. OpenMRS version is 2.3.0. Java version and Tomcat version are also correct. First, the legacy UI was working fine but after deploying my module the UI is failing.
Maybe there is a problem with the RequestMapping of the Controller. But I am not sure because no error is given by OpenMRS.
Are all your changes committed? Your module does not start because of this error: Ambiguous mapping. Cannot map 'deviceconnectorController' method org.openmrs.module.deviceconnector.web.controller.DeviceconnectorController#onPost(HttpSession, Object, BindingResult) to {POST [/module/deviceconnector/deviceconnector.list]}: There is already 'deviceconnector.DeviceconnectorController' bean method org.openmrs.module.deviceconnector.web.controller.DeviceconnectorController#onPost(HttpSession, Object, BindingResult) mapped.
Yes you are right. I also got to this error message of using just the controller-method without the bean method cause there is already a mapping, but it also does not work if I just use one of them. So it also would not recognize a single mapping of the two kinds. The result would be still no module and no error message.
I am not quite sure how to handle this now and get it running…any advice?