Compilation Failure

Here is the detailed issues anyone with similar issues then please help me to resolved this.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project dhis-service-program-rule: Compilation failure: Compilation failure:
[ERROR] /Users/rabin/Amakomaya/dhis2-core/dhis-2/dhis-services/dhis-service-program-rule/src/main/java/org/hisp/dhis/programrule/engine/DefaultProgramRuleEngineService.java:[74,27] cannot find symbol
[ERROR] symbol: variable SYSTEM_PROGRAM_RULE_SERVER_EXECUTION
[ERROR] location: class org.hisp.dhis.programrule.engine.DefaultProgramRuleEngineService
[ERROR] /Users/rabin/Amakomaya/dhis2-core/dhis-2/dhis-services/dhis-service-program-rule/src/main/java/org/hisp/dhis/programrule/engine/DefaultProgramRuleEngineService.java:[83,5] cannot find symbol
[ERROR] symbol: class Map
[ERROR] location: class org.hisp.dhis.programrule.engine.DefaultProgramRuleEngineService
[ERROR] /Users/rabin/Amakomaya/dhis2-core/dhis-2/dhis-services/dhis-service-program-rule/src/main/java/org/hisp/dhis/programrule/engine/DefaultProgramRuleEngineService.java:[111,27] cannot find symbol
[ERROR] symbol: variable SYSTEM_PROGRAM_RULE_SERVER_EXECUTION
[ERROR] location: class org.hisp.dhis.programrule.engine.DefaultProgramRuleEngineService
[ERROR] /Users/rabin/Amakomaya/dhis2-core/dhis-2/dhis-services/dhis-service-program-rule/src/main/java/org/hisp/dhis/programrule/engine/DefaultProgramRuleEngineService.java:[139,5] cannot find symbol
[ERROR] symbol: class Map
[ERROR] location: class org.hisp.dhis.programrule.engine.DefaultProgramRuleEngineService
[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] MojoFailureException - Apache Maven - Apache Software Foundation
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :dhis-service-program-rule

Hi @rabin

Welcome to the community! While the Catalina.out log is helpful, it’s also important to understand the configuration and environmental setup in some cases.

Could you share more details about the system and software environment? DHIS2 instance version as well as Java, tomcat, postgreSQL versions? Any other information that could be relevant such as did this happen in a working instance or is this during the installation of an instance for the first time?

Do you have any program rules configured already? Are you able to access the instance but not able to create program rules ? How does these errors affect your instance ?

Please provide more information about the environment where these errors appear. Thanks!