wikumW

Untitled

Nov 15th, 2023
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.968 s <<< FAILURE! - in org.openmrs.module.appframework.config.AppFrameworkConfigRuntimeTest
  2. [ERROR] shouldLoadConfigsBasedOnRuntimeProperties Time elapsed: 0.001 s <<< ERROR!
  3. java.lang.IllegalStateException: Failed to load ApplicationContext
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9.  
Advertisement
Add Comment
Please, Sign In to add comment