[java] java.lang.ExceptionInInitializerError
[java] Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'transactionManager' defined in class path resource [spring-dao.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in class path resource [spring-dao.xml]: Initialization of bean failed; nested exception is org.hibernate.HibernateException: could not instantiate CacheProvider: net.sf.ehcache.hibernate.Provider
[java] at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:180)
[java] at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:105)
[java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:957)
[java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:768)
[java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:330)
[java] at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:226)
[java] at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:147)
[java] at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:275)
[java] at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:317)
[java] at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:80)
[java] at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:65)
[java] at com.planaxis.swifter.front.Main.<clinit>(Unknown Source)
[java] Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in class path resource [spring-dao.xml]: Initialization of bean failed; nested exception is org.hibernate.HibernateException: could not instantiate CacheProvider: net.sf.ehcache.hibernate.Provider
[java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:355)
[java] at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:226)
[java] at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:147)
[java] at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:176)
[java] ... 11 more
[java] Caused by: org.hibernate.HibernateException: could not instantiate CacheProvider: net.sf.ehcache.hibernate.Provider
[java] at org.hibernate.cfg.SettingsFactory.createCacheProvi der(SettingsFactory.java:326)
[java] at org.hibernate.cfg.SettingsFactory.buildSettings(Se ttingsFactory.java:219)
[java] at org.hibernate.cfg.Configuration.buildSettings(Conf iguration.java:1463)
[java] at org.hibernate.cfg.Configuration.buildSessionFactor y(Configuration.java:1004)
[java] at org.springframework.orm.hibernate3.LocalSessionFac toryBean.newSessionFactory(LocalSessionFactoryBean .java:767)
[java] at org.springframework.orm.hibernate3.LocalSessionFac toryBean.afterPropertiesSet(LocalSessionFactoryBea n.java:693)
[java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1003)
[java] at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:348)
[java] ... 14 more
[java] Caused by: java.lang.ClassCastException: net.sf.ehcache.hibernate.Provider
[java] at org.hibernate.cfg.SettingsFactory.createCacheProvi der(SettingsFactory.java:323)
[java] ... 21 more
[java] Exception in thread "main"