一品网
  • 首页

<cache> does not allow attribute "maxBytesLocalDisk


配置    maxBytesLocalDisk等属性是报错:

Element does not allow attribute “maxBytesLocalDisk”

问题分析:

问题是ehcache jar带来的是ehcache-spring注释的依赖性。ehcache-spring注释带来了2.4.5的ehcache版本,它不支持“maxBytesLocalDisk”。尝试引入ehcache版本的2.7或其他版本试一试。

解决办法:

重新引入2.6.6版本成功解决

Exception

相关


org.springframework.data.redis.RedisConnectionFailureException

日期转换读取为null,java.text.ParseException: Unparseable date

【WCF】错误处理(一):FaultException 与 FaultReason 的搭配

明明导入了jar包,idea下仍然classnotfoundexception. 如果没有jar包冲突

解决远程调用三方接口:javax.net.ssl.SSLHandshakeException报错

JSP Exception.getMessage()方法:获取异常消息文本

报错 org.springframework.dao.DataIntegrityViolationException: Error attempting t

java.sql.SQLException: The server time zone value '�й���׼ʱ��' is unrecognized or re

Java异常机制Exception

Cause: java.lang.ClassNotFoundException: Cannot find class: com.kuang.pojo.User

IOException during persisting of HostData OPatchAuto failed

airflow.exceptions.AirflowException: `python_callable` param must be callable

标签

一品网 冀ICP备14022925号-6