Advertisement
trustbirungi

Legacy UI Compilation Error

Jul 10th, 2020
519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.53 KB | None | 0 0
  1. [ERROR] COMPILATION ERROR :
  2. [INFO] -------------------------------------------------------------
  3. [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
  4. [ERROR] /Users/trustbirungi/eclipse-workspace/openmrs-module-legacyui/omod/src/test/java/org/openmrs/web/servlet/DownloadDictionaryServletTest.java:[41,10] cannot find symbol
  5.   symbol:   class Resource
  6.   location: class org.openmrs.web.servlet.DownloadDictionaryServletTest
  7. [INFO] 2 errors
  8. [INFO] -------------------------------------------------------------
  9. [INFO] ------------------------------------------------------------------------
  10. [INFO] Reactor Summary for Legacy UI Module 1.7.0-SNAPSHOT:
  11. [INFO]
  12. [INFO] Legacy UI Module ................................... SUCCESS [  1.438 s]
  13. [INFO] Legacy UI Module API ............................... SUCCESS [  3.054 s]
  14. [INFO] Legacy UI Module OMOD .............................. FAILURE [ 10.243 s]
  15. [INFO] ------------------------------------------------------------------------
  16. [INFO] BUILD FAILURE
  17. [INFO] ------------------------------------------------------------------------
  18. [INFO] Total time:  15.198 s
  19. [INFO] Finished at: 2020-07-10T13:34:35+03:00
  20. [INFO] ------------------------------------------------------------------------
  21. [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:
  22. [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
  23. [ERROR] /Users/trustbirungi/eclipse-workspace/openmrs-module-legacyui/omod/src/test/java/org/openmrs/web/servlet/DownloadDictionaryServletTest.java:[41,10] cannot find symbol
  24. [ERROR]   symbol:   class Resource
  25. [ERROR]   location: class org.openmrs.web.servlet.DownloadDictionaryServletTest
  26. [ERROR] -> [Help 1]
  27. [ERROR]
  28. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  29. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  30. [ERROR]
  31. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  32. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  33. [ERROR]
  34. [ERROR] After correcting the problems, you can resume the build with the command
  35. [ERROR]   mvn <args> -rf :legacyui-omod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement