日期:2014-05-18  浏览次数:20778 次

请大家帮我解决一下这个问题谢谢了...
[INFO   ]   2007-05-29   16:14:00   org.hibernate.cfg.SettingsFactory   -   Cache   provider:   org.ehcache.hibernate.Provider
org.hibernate.HibernateException:   could   not   instantiate   CacheProvider:   org.ehcache.hibernate.Provider
at   org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:326)
at   org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:219)
at   org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
at   org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
at   com.webrage.domain.base.HibernateUtil.init(HibernateUtil.java:30)
at   filters.HibernateFilter.init(HibernateFilter.java:33)
at   org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
at   org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
at   org.apache.catalina.core.ApplicationFilterConfig. <init> (ApplicationFilterConfig.java:79)
at   org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3563)
at   org.apache.catalina.core.StandardContext.start(StandardContext.java:4133)
at   org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at   org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at   org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at   org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603)
at   org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
at   org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
at   org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at   org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at   org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at   org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at   org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at   org.apache.catalina.core.StandardService.start(StandardService.java:450)
at   org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at   java.lang.reflect.Method.invoke(Method.java:585)
at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused   by:   java.lang.ClassNotFoundException:   org.ehcache.hibernate.Provider
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1338)
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1187) <