Question:
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.
However, for someone else having the same issue, they’d have no way of knowing that that’d be the solution. I’m thinking of including it in the Manual Installation section as the source for UI modules when running the snapshot version of the platform.
Ok thank you it worked. I have a mac… where should I place the legacyui-1.9-SNAPSHOT.omod file that was generated from the clean install. All the instructions say in openers/modules , but I don’t have that folder. What is the mac equivalent?