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

谢谢大家帮我看看这是什么错~!小弟刚刚学习hibernate
[WARN   ]   2007-05-30   11:46:17   org.hibernate.cache.EhCacheProvider   -   Could   not   find   configuration   [org.jbpm.graph.def.Node];   using   defaults.
[ERROR]   2007-05-30   11:46:17   net.sf.ehcache.store.DiskStore   -   org.jbpm.graph.def.NodeCache:   Could   not   create   disk   store
java.lang.NullPointerException
at   java.io.File. <init> (File.java:194)
at   net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:176)
at   net.sf.ehcache.store.DiskStore. <init> (DiskStore.java:151)
at   net.sf.ehcache.Cache.initialise(Cache.java:269)
at   net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:333)
at   net.sf.ehcache.CacheManager.addCache(CacheManager.java:325)
at   net.sf.ehcache.CacheManager.addCache(CacheManager.java:310)
at   org.hibernate.cache.EhCacheProvider.buildCache(EhCacheProvider.java:98)
at   org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:61)
at   org.hibernate.impl.SessionFactoryImpl. <init> (SessionFactoryImpl.java:199)
at   org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)
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