Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.968 s <<< FAILURE! - in org.openmrs.module.appframework.config.AppFrameworkConfigRuntimeTest
- [ERROR] shouldLoadConfigsBasedOnRuntimeProperties Time elapsed: 0.001 s <<< ERROR!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/wikum/Documents/GSOC/OpenMRS/GSOC-2023/openmrs-module-appframework/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.AssertionFailure: Unable to locate referenced entity mapping [org.openmrs.User] in order to process many-to-one FK : org.openmrs.ConceptClass.creator
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/wikum/Documents/GSOC/OpenMRS/GSOC-2023/openmrs-module-appframework/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.AssertionFailure: Unable to locate referenced entity mapping [org.openmrs.User] in order to process many-to-one FK : org.openmrs.ConceptClass.creator
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/wikum/Documents/GSOC/OpenMRS/GSOC-2023/openmrs-module-appframework/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.AssertionFailure: Unable to locate referenced entity mapping [org.openmrs.User] in order to process many-to-one FK : org.openmrs.ConceptClass.creator
- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/home/wikum/Documents/GSOC/OpenMRS/GSOC-2023/openmrs-module-appframework/api/target/test-classes/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.AssertionFailure: Unable to locate referenced entity mapping [org.openmrs.User] in order to process many-to-one FK : org.openmrs.ConceptClass.creator
- Caused by: org.hibernate.AssertionFailure: Unable to locate referenced entity mapping [org.openmrs.User] in order to process many-to-one FK : org.openmrs.ConceptClass.creator
Advertisement
Add Comment
Please, Sign In to add comment