I’m trying to install Legacy UI by following the instructions at https://wiki.openmrs.org/display/docs/User+Interface+Modules but I’m unable to due to a compilation error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project legacyui-omod: Compilation failure: Compilation failure: [ERROR] /Users/trustbirungi/eclipse-workspace/openmrs-module-legacyui/omod/src/test/java/org/openmrs/web/servlet/DownloadDictionaryServletTest.java:[15,24] package javax.annotation does not exist
I’ve researched similar issues and they seem to be caused by having JDK versions higher than 1.8 but my JDK version is 1.8.0_232.
I’ve tried to check out and compile other branches of Legacy UI but I’m getting the same error.
Here’s the pastebin with the full maven log.