Hi, when I tried to build legacy UI i’m getting errors. Full Error trace is included. Thanks for any reply in advance
[INFO] Legacy UI Module .................................. SUCCESS [0.328s]
[INFO] Legacy UI Module API .............................. SUCCESS [2.399s]
[INFO] Legacy UI Module OMOD ............................. FAILURE [4.182s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.344s
[INFO] Finished at: Tue May 31 13:18:19 IST 2016
[INFO] Final Memory: 41M/373M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project legacyui-omod: Compilation failure: Compilation failure:
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/ConceptFormController.java:[36,18] error: cannot find symbol
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttribute
[ERROR] location: package org.openmrs
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/ConceptFormController.java:460: error: cannot find symbol
[ERROR] public Collection<ConceptAttribute> activeAttributes;
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttribute
[ERROR] location: class ConceptFormController.ConceptFormBackingObject
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/ConceptFormController.java:1125: error: cannot find symbol
[ERROR] public Collection<ConceptAttribute> getActiveAttributes() {
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttribute
[ERROR] location: class ConceptFormController.ConceptFormBackingObject
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/ConceptFormController.java:1129: error: cannot find symbol
[ERROR] public void setActiveAttributes(Collection<ConceptAttribute> activeAttributes) {
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttribute
[ERROR] location: class ConceptFormController.ConceptFormBackingObject
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:12: error: cannot find symbol
[ERROR] import org.openmrs.ConceptAttributeType;
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: package org.openmrs
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:16: error: cannot find symbol
[ERROR] import org.openmrs.validator.ConceptAttributeTypeValidator;
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeTypeValidator
[ERROR] location: package org.openmrs.validator
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:40: error: cannot find symbol
[ERROR] public Boolean getDatatypeReadOnly( @RequestParam(value = "id", required = false) ConceptAttributeType attrType) {
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: class ConceptAttributeTypeFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:54: error: cannot find symbol
[ERROR] @RequestParam(value = "id", required = false) ConceptAttributeType attrType) {
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: class ConceptAttributeTypeFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:53: error: cannot find symbol
[ERROR] public ConceptAttributeType formBackingObject(
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: class ConceptAttributeTypeFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:69: error: cannot find symbol
[ERROR] public String handleSubmit(WebRequest request, @ModelAttribute("attributeType") ConceptAttributeType conceptAttributeType,
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: class ConceptAttributeTypeFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:92: error: cannot find symbol
[ERROR] private String unretireConceptAttributeType(WebRequest request, @ModelAttribute("attributeType") ConceptAttributeType conceptAttributeType) {
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: class ConceptAttributeTypeFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:99: error: cannot find symbol
[ERROR] private String retireConceptAttributeType(WebRequest request, ConceptAttributeType conceptAttributeType, BindingResult errors) {
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: class ConceptAttributeTypeFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:111: error: cannot find symbol
[ERROR] private String purgeConceptAttributeType(WebRequest request, ConceptAttributeType conceptAttributeType, ConceptService conceptService) {
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: class ConceptAttributeTypeFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:123: error: cannot find symbol
[ERROR] private String saveConceptAttributeType(WebRequest request, ConceptAttributeType conceptAttributeType, ConceptService conceptService) {
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: class ConceptAttributeTypeFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/ConceptFormController.java:265: error: cannot find symbol
[ERROR] WebAttributeUtil.handleSubmittedAttributesForType(conceptBackingObject.getConcept(), errors, ConceptAttribute.class, request,
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttribute
[ERROR] location: class ConceptFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/ConceptFormController.java:266: error: cannot find symbol
[ERROR] cs.getAllConceptAttributeTypes());
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: method getAllConceptAttributeTypes()
[ERROR] location: variable cs of type ConceptService
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/ConceptFormController.java:408: error: cannot find symbol
[ERROR] map.put("attributeTypes", cs.getAllConceptAttributeTypes());
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: method getAllConceptAttributeTypes()
[ERROR] location: variable cs of type ConceptService
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/ConceptFormController.java:529: error: cannot find symbol
[ERROR] this.activeAttributes = concept.getActiveAttributes();
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: method getActiveAttributes()
[ERROR] location: variable concept of type Concept
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeListController.java:30: error: cannot find symbol
[ERROR] model.addAttribute("attributeTypes", Context.getConceptService().getAllConceptAttributeTypes());
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: method getAllConceptAttributeTypes()
[ERROR] location: interface ConceptService
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:56: error: cannot find symbol
[ERROR] attrType = new ConceptAttributeType();
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class ConceptAttributeType
[ERROR] location: class ConceptAttributeTypeFormController
[ERROR] /home/kishore/openmrsworkspace/openmrs-module-legacyui-master/omod/src/main/java/org/openmrs/web/controller/concept/ConceptAttributeTypeFormController.java:76: error: cannot find symbol
[ERROR] new ConceptAttributeTypeValidator().validate(conceptAttributeType, errors);
[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 <goals> -rf :legacyui-omod