Hello. I’m trying to build the OpenMRS basicexample module obtained from https://github.com/openmrs/openmrs-module-basicmodule
I use the command mvn package as described in the documentation there. However, when I do, the build crashes with the error message below. Any guidance would be appreciated. Thanks!
-------------------------------------------------------------------------------
Test set: org.openmrs.module.basicexample.api.BasicExampleServiceTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.849 sec <<< FAILURE!
shouldSetupContext(org.openmrs.module.basicexample.api.BasicExampleServiceTest) Time elapsed: 2.02 sec <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
(traceback snipped here)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/home/naps/.m2/repository/org/openmrs/web/openmrs-web/1.11.0/openmrs-web-1.11.0.jar!/org/openmrs/web/OpenmrsJspServlet.class]; nested exception is java.io.FileNotFoundException: class path resource [org/apache/jasper/servlet/JspServlet.class] cannot be opened because it does not exist