Hello, After Upgrading the Hibernate Library with the following Sub Libraries
-
org.hibernate:hibernate-c3p0 … 4.3.9.Final -> 6.0.0.Alpha2
-
org.hibernate:hibernate-core … 4.3.9.Final -> 6.0.0.Alpha2
-
org.hibernate:hibernate-ehcache … 4.3.9.Final -> 5.4.2.Final
-
org.hibernate:hibernate-search-orm … 5.1.2.Final -> 5.11.1.Final
-
org.hibernate:hibernate-validator … 4.2.0.Final -> 6.1.0.Alpha4
I run the mvn clean install , the build runs successfully for OpenMrs , openmrs-tools, and openmrs-test but then fails at openmrs-api.
The error points to this
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project openmrs-api: Compilation failure: Compilation failure:
[ERROR] /home/irynah/Openmrs-Projects/trunk-5491/openmrs-core/api/src/main/java/org/openmrs/notification/db/hibernate/HibernateAlertDAO.java:[16,20] error: cannot find symbol
[ERROR]
[ERROR] package org.hibernate
[ERROR] /home/irynah/Openmrs-Projects/trunk-5491/openmrs-core/api/src/main/java/org/openmrs/notification/db/hibernate/HibernateAlertDAO.java:[18,30] error: package org.hibernate.criterion does not exist
[ERROR]
[ERROR] /home/irynah/Openmrs-Projects/trunk-5491/openmrs-core/api/src/main/java/org/openmrs/notification/db/hibernate/HibernateAlertDAO.java:[19,30] error: package org.hibernate.criterion does not exist
[ERROR]
[ERROR] /home/irynah/Openmrs-Projects/trunk-5491/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateOpenmrsDataDAO.java:[14,20] error: cannot find symbol
Here is the full error log https://pastebin.com/BN78JTGY
Please I need your guidance. cc @dkayiwa , @odorajonathan , @mozzy , @ruhanga