Advertisement
Guest User

Untitled

a guest
Jun 5th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.26 KB | None | 0 0
  1. HTTP Status 500 - Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-service.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: org.openmrs.module.sync.api.db.hibernate.usertype.GenericEnumUserType, at table: sync_record, for columns: [org.hibernate.mapping.Column(state)]
  2.  
  3. type Exception report
  4.  
  5. message Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-service.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: org.openmrs.module.sync.api.db.hibernate.usertype.GenericEnumUserType, at table: sync_record, for columns: [org.hibernate.mapping.Column(state)]
  6.  
  7. description The server encountered an internal error that prevented it from fulfilling this request.
  8.  
  9. exception
  10.  
  11. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-service.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: org.openmrs.module.sync.api.db.hibernate.usertype.GenericEnumUserType, at table: sync_record, for columns: [org.hibernate.mapping.Column(state)]
  12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566)
  13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
  14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  15. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  16. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  17. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  18. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  19. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:962)
  20. org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.lookupSessionFactory(OpenSessionInViewFilter.java:189)
  21. org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.lookupSessionFactory(OpenSessionInViewFilter.java:174)
  22. org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:125)
  23. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  24. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  25. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  26. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  27. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  28. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  29. root cause
  30.  
  31. org.hibernate.MappingException: Could not determine type for: org.openmrs.module.sync.api.db.hibernate.usertype.GenericEnumUserType, at table: sync_record, for columns: [org.hibernate.mapping.Column(state)]
  32. org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:349)
  33. org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:322)
  34. org.hibernate.mapping.Property.isValid(Property.java:241)
  35. org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:496)
  36. org.hibernate.mapping.RootClass.validate(RootClass.java:270)
  37. org.hibernate.cfg.Configuration.validate(Configuration.java:1360)
  38. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1851)
  39. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1930)
  40. org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:372)
  41. org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:454)
  42. org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:439)
  43. org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.afterPropertiesSet(HibernateSessionFactoryBean.java:187)
  44. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1625)
  45. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1562)
  46. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
  47. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  48. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  49. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  50. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  51. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  52. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:962)
  53. org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.lookupSessionFactory(OpenSessionInViewFilter.java:189)
  54. org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.lookupSessionFactory(OpenSessionInViewFilter.java:174)
  55. org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:125)
  56. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  57. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  58. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  59. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  60. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  61. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement