Issue or Question:
JUnit Tests fail to load application Context. I’ve looked previous posts on this, I don’t seem to find any helpful information. This error had existed with the Patient Flags module itself. I don’t know if there’s something wrong in the POM. But I can’t get past this error. Here is the Error Log.
As @ssmusoke says, you need the correct classes on the classpath to avoid errors like:
Caused by: java.io.FileNotFoundException: class path resource [org/openmrs/module/BaseModuleActivator.class] cannot be opened because it does not exist