[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/ashutoshdubey/openmrs-core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for OpenMRS 2.6.0-SNAPSHOT: [INFO] [INFO] OpenMRS ............................................ SUCCESS [ 1.911 s] [INFO] openmrs-tools ...................................... SUCCESS [ 0.776 s] [INFO] openmrs-test ....................................... SUCCESS [ 0.191 s] [INFO] openmrs-api ........................................ FAILURE [ 10.110 s] [INFO] openmrs-web ........................................ SKIPPED [INFO] openmrs-webapp ..................................... SKIPPED [INFO] openmrs-liquibase .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.392 s [INFO] Finished at: 2021-11-26T20:16:54+05:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project openmrs-api: Compilation failure [ERROR] /Users/ashutoshdubey/openmrs-core/api/src/main/java/org/openmrs/module/ModuleFactory.java:[17,27] package java.rmi.activation does not exist [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :openmrs-api