org.hibernate.cache.CacheException:net.sf.ehcache.CacheException:Cannot configure CacheManeger:jar:file:/D:/web/www.hboys.cn/WEB-INF/lib/ehcache-1.1.jar/ehcache-failsafe.xml:12:12Could not set attribute "path".at org.hibernate.cache.EhCaeProvider.start(EhCacheProvider.java:134>
解决方案 »
- java.lang.NullPointerException
- java发送邮件
- 百分求助!如何查看别人写好的ActiveX控件中的方法和属性?
- java中,我想每秒钟加一次,用哪个函数啊
- Servlet里设置的cookie,页面上js怎么获取的到?
- 请教如果使用javascript控制分页显示
- MSSQLSERVER的datetime 和smalldatetime类型
- jsp+javaBean中Column 'ordersPrice' specified twice的错误
- 一个购物车的问题!(高手请教!)
- 一个提交请求,发送出两条HTTP请求?!如何实现?!高分等待
- hibernate中用max查询出错
- struts中如果上传文件到weblogic下
<diskStore path="java.io.tmpdir"/>
<defaultCache
maxElementsInMemory="10000"
eternal="false"
overflowToDisk="true"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
diskPersistent="false"
diskExpiryThreadIntervalSeconds="120"
/>
</ehcache>
就这些,我以前没有设置过的
这个路径我没有配过的我用的hibernate+struts
下面是hibernate文件
<?xml version='1.0' encoding='gbk'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"><!-- Generated by MyEclipse Hibernate Tools. -->
<hibernate-configuration><session-factory>
<property name="connection.username">hboys</property>
<property name="connection.url">jdbc:mysql://210.74.227.169:3306/hboys</property>
<property name="dialect">org.hibernate.dialect.MySQLMyISAMDialect</property>
<property name="myeclipse.connection.profile">mySQL</property>
<property name="connection.password">hboys</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="show_sql">false</property> <mapping resource="com/jun/newsPub/model/BigClass.hbm.xml" />
<mapping resource="com/jun/newsPub/model/SysConfig.hbm.xml" />
<mapping resource="com/jun/newsPub/model/SysInfo.hbm.xml" />
<mapping resource="com/jun/newsPub/model/Log.hbm.xml" />
<mapping resource="com/jun/newsPub/model/News.hbm.xml" />
<mapping resource="com/jun/newsPub/model/SmallClass.hbm.xml" />
<mapping resource="com/jun/newsPub/model/Special.hbm.xml" />
<mapping resource="com/jun/newsPub/model/TalkAbout.hbm.xml" />
<mapping resource="com/jun/guestbook/model/GuestBook.hbm.xml" />
<mapping resource="com/jun/user/model/User.hbm.xml" />
<mapping resource="com/jun/admin/Admin.hbm.xml" />
</session-factory></hibernate-configuration>