OpenMRS module dev: unable to display a UI on a basic module

Good day everyone,

I have followed the guide from OpenMRS SDK - Documentation - OpenMRS Wiki to create a basic module with some UI (a simple Web page accessible from the Admin Console). I was able to build and deploy the module. The default boilerplate code added a link in the admin console (see screenshot below), but when I click on it, I land on the error page shown in the second screenshot.

[update] this issue has been reported here as well, I have tested the solutions suggested there by @dkayiwa and @wyclif with no success.

Error returned when clicking on the link:

I am not sure which changes I need to make on the default auto-generated code to display the default JSP page that was generated by the openmrs SDK.

I included below the content of the webModuleApplicationContext.xml and config.xml


<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""

	<context:component-scan base-package="" />


<?xml version="1.0" encoding="UTF-8"?>

<module configVersion="1.2">
	<!-- Base Module Properties -->
	<author>Jembi Health Systems</author>

	<!-- <updateURL></updateURL> -->
	<!-- /Base Module Properties -->
	<!-- Extensions -->

	<!-- AOP
	 /AOP -->
	<!-- Required Privileges 
		<name>Form Entry</name>
		<description>Allows user to access Form Entry pages/functions</description>
	 /Required Privileges -->

	<!-- Required Global Properties 
			A description of the global property goes here.  The description
			should explain enough for administrators to understand the purpose
			and possible values for the global property.
	/Required Global Properties -->
			<create creator="new" javascript="DWRFormEntryService">
				<param name="class" value="org.openmrs.module.@MODULE_ID@.web.DWRFormEntryService"/>
				<include method="enterForm"/>

			import @MODULE_PACKAGE@.web.DWRFormEntryService;
			DWRFormEntryService.enterForm(Integer patientId, Integer formId, boolean useEncounter, List<String> fields);
	<!-- Servlets -->
	<!-- Accessed through the url /pageContext()/moduleServlet/<moduleId>/<servlet-name> 
	<!-- /Servlets -->
	<!-- Internationalization -->
	<!-- All message codes should start with @MODULE_ID@.* -->
	<!-- /Internationalization -->

Can you put your module on github?

sure @dkayiwa , here is the link: GitHub - jembi/openmrs-module-dhis2-data-agent

Remove dots . from the moduleid and jsp file name.