[INFO] 41 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] OpenMRS ........................................... SUCCESS [0.686s] [INFO] openmrs-tools ..................................... SUCCESS [0.584s] [INFO] openmrs-test ...................................... SUCCESS [0.111s] [INFO] openmrs-api ....................................... FAILURE [5.499s] [INFO] openmrs-web ....................................... SKIPPED [INFO] openmrs-webapp .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.160s [INFO] Finished at: Sun Feb 01 13:16:58 IST 2015 [INFO] Final Memory: 37M/574M [INFO] ------------------------------------------------------------------------ [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/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/xml/OpenmrsLabelLogic.java:[20,31] package org.hibernate.collection does not exist [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateProviderDAO.java:[20,28] cannot find symbol [ERROR] symbol : class Session [ERROR] location: package org.hibernate.classic [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateProviderDAO.java:[63,9] cannot find symbol [ERROR] symbol : class Session [ERROR] location: class org.openmrs.api.db.hibernate.HibernateProviderDAO [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/util/MemoryLeakUtil.java:[22,25] package org.hibernate.impl does not exist [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/util/MemoryLeakUtil.java:[24,23] sun.net.www.http.HttpClient is Sun proprietary API and may be removed in a future release [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/util/MemoryLeakUtil.java:[25,23] sun.net.www.http.KeepAliveCache is Sun proprietary API and may be removed in a future release [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/NativeIfNotAssignedIdentityGenerator.java:[22,27] cannot find symbol [ERROR] symbol : class SessionImplementor [ERROR] location: package org.hibernate.engine [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/NativeIfNotAssignedIdentityGenerator.java:[46,30] cannot find symbol [ERROR] symbol : class SessionImplementor [ERROR] location: class org.openmrs.api.db.hibernate.NativeIfNotAssignedIdentityGenerator [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[40,25] package org.hibernate.util does not exist [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateSessionFactoryBean.java:[34,25] package org.hibernate.util does not exist [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java:[33,27] cannot find symbol [ERROR] symbol : class SessionFactoryImplementor [ERROR] location: package org.hibernate.engine [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/xml/OpenmrsLabelLogic.java:[50,24] cannot find symbol [ERROR] symbol : class PersistentCollection [ERROR] location: class org.openmrs.xml.OpenmrsLabelLogic [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/PatientSearchCriteria.java:[277,88] cannot find symbol [ERROR] symbol : variable STRING [ERROR] location: class org.hibernate.Hibernate [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/util/MemoryLeakUtil.java:[71,21] sun.net.www.http.HttpClient is Sun proprietary API and may be removed in a future release [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/util/MemoryLeakUtil.java:[77,32] sun.net.www.http.KeepAliveCache is Sun proprietary API and may be removed in a future release [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/util/MemoryLeakUtil.java:[104,17] cannot find symbol [ERROR] symbol : class SessionFactoryObjectFactory [ERROR] location: class org.openmrs.util.MemoryLeakUtil [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/util/MemoryLeakUtil.java:[109,11] cannot find symbol [ERROR] symbol : class SessionFactoryObjectFactory [ERROR] location: class org.openmrs.util.MemoryLeakUtil [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateAdministrationDAO.java:[94,42] cannot find symbol [ERROR] symbol : method connection() [ERROR] location: interface org.hibernate.Session [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateAdministrationDAO.java:[132,42] cannot find symbol [ERROR] symbol : method connection() [ERROR] location: interface org.hibernate.Session [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateAdministrationDAO.java:[257,67] cannot find symbol [ERROR] symbol : method connection() [ERROR] location: interface org.hibernate.Session [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateConceptDAO.java:[147,60] cannot find symbol [ERROR] symbol : method connection() [ERROR] location: interface org.hibernate.Session [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/search/LuceneQuery.java:[204,29] cannot access org.hibernate.classic.Session [ERROR] class file for org.hibernate.classic.Session not found [ERROR] return getFullTextSession().getSearchFactory().buildQueryBuilder().forEntity(getType()).get(); [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[423,9] cannot find symbol [ERROR] symbol : method flush() [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[424,9] cannot find symbol [ERROR] symbol : method clear() [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[426,31] cannot find symbol [ERROR] symbol : method getFlushMode() [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[427,31] cannot find symbol [ERROR] symbol : method getCacheMode() [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[429,10] cannot find symbol [ERROR] symbol : method setFlushMode(org.hibernate.FlushMode) [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[430,10] cannot find symbol [ERROR] symbol : method setCacheMode(org.hibernate.CacheMode) [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[433,38] cannot find symbol [ERROR] symbol : method createCriteria(java.lang.Class) [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[440,12] cannot find symbol [ERROR] symbol : method clear() [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[444,10] cannot find symbol [ERROR] symbol : method clear() [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[447,10] cannot find symbol [ERROR] symbol : method setFlushMode(org.hibernate.FlushMode) [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateContextDAO.java:[448,10] cannot find symbol [ERROR] symbol : method setCacheMode(org.hibernate.CacheMode) [ERROR] location: interface org.hibernate.search.FullTextSession [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernatePatientDAO.java:[116,60] cannot find symbol [ERROR] symbol : method connection() [ERROR] location: interface org.hibernate.Session [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateOrderDAO.java:[192,87] cannot find symbol [ERROR] symbol : method connection() [ERROR] location: interface org.hibernate.Session [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateOrderDAO.java:[443,39] getMappedClass() in org.hibernate.metadata.ClassMetadata cannot be applied to (org.hibernate.EntityMode) [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/util/HibernateEnumType.java:[37,7] org.openmrs.util.HibernateEnumType is not abstract and does not override abstract method nullSafeSet(java.sql.PreparedStatement,java.lang.Object,int,org.hibernate.engine.spi.SessionImplementor) in org.hibernate.usertype.UserType [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateSessionFactoryBean.java:[98,32] cannot find symbol [ERROR] symbol : variable ConfigHelper [ERROR] location: class org.openmrs.api.db.hibernate.HibernateSessionFactoryBean [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java:[79,2] cannot find symbol [ERROR] symbol : class SessionFactoryImplementor [ERROR] location: class org.openmrs.api.db.hibernate.HibernateUtil [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java:[79,43] cannot find symbol [ERROR] symbol : class SessionFactoryImplementor [ERROR] location: class org.openmrs.api.db.hibernate.HibernateUtil [ERROR] [ERROR] /home/harsha/development/OpenMRS_Repos/openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java:[93,73] cannot find symbol [ERROR] symbol : method connection() [ERROR] location: interface org.hibernate.Session [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