`
ekisstherain
  • 浏览: 172864 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

解决:No configuration found. Configuring ehcache from ehcache-failsafe.xml 问题

阅读更多

!报错:No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath:.....

原因:报这个错是因为在/sandh/web-inf/classes下面没有ehcache.xml这个文件!这个文件是hibernate缓存配置文件。

解决方法:从ehcache-1.1.jar   中把文件ehcache-failsafe.xml 解压出来改名 ehcache.xml 复制到classes下面就行了!

配置文件解读:
<defaultCache>表示设定缓存的默认数据过期策略。
name表示具体的缓存命名。
maxElementsInMemory表示cache中最大允许保存的对象数据量。
eternal表示cache中数据是否为常量。
timeToIdleSeconds表示缓存数据钝化时间
timeToLiveSeconds表示缓存数据的生命时间。
overflowToDisk表示内存不足时,是否启用磁盘缓存。

 

参考

分享到:
评论

相关推荐

    Datastage官方培训资料

    2-01 Module 3: Configuring Projects ..................................... 3-01 Module 4: Designing and Running Jobs ........................ 4-01 Module 5: Working with Metadata................

    525.125.03-525.125.06-529.11-grid-vgpu-user-guide.pdf

     《Installing and Configuring NVIDIA Virtual GPU Manager》 提供分步指南在支持的管理程序上安装和配置vGPU。  《Using GPU Pass-Through》解释如何配置GPU以通过支持的管理程序。  《Installing the ...

    Service Support-英文原版

    2.1 Configuration Management.............................................................................- 14 - 2.2 Change Management......................................................................

    qgis 3.6.1源码编译

    编译过程中可能会遇到各种问题,例如依赖库的缺失、编译错误等,需要根据错误提示进行相应的调整。 总的来说,编译QGIS 3.6.1源码的过程虽然涉及多个步骤和组件,但有了官方提供的新编译手册,整个过程变得更加简洁...

    Labview TestStand教程

    Exercise 1-2A Running a Sequence File from the LabVIEW Operator Interface ............................................................................1-20 Exercise 1-2B Running a Sequence File from ...

    LTM Config 配置手册打包

    Configuring load balancing pools ..................................................................................... 1-10 Configuring profiles ..........................................................

    Configuring_SMPP.rar_site:www.pudn.com

    标题中的"Configuring_SMPP.rar"表明这是一个关于配置SMPP(Short Message Peer-to-Peer)协议的资源文件,而"site:www.pudn.com"则可能是该文件的来源网站,通常这类网站会分享各种技术文档和教程。描述中提到"这是...

    tensorflow-1.12支持cuda10.0

    Found possible Python library paths: /usr/local/lib/python3.5/dist-packages /usr/lib/python3/dist-packages Please input the desired Python library path to use. Default is [/usr/local/lib/python3.5/...

    Windows Server 2012 R2 Inside Out

    This supremely organized reference packs hundreds of timesaving solutions, troubleshooting tips, and workarounds for Windows Server 2012 R2 – with a focus on configuration, storage, and essential ...

    sybase ase for linux 12.5安装

    installation process covers the creation of a Sybase directory, setting up the user and group, unpacking and installing the software, configuring the server, and setting up the environment variables....

    MCTS.70-662.Rapid.Review:Configuring.Microsoft.Exchange.Server.2010(2012.3)

    它提供了企业级的通信解决方案,包括邮件收发、日历管理、任务、联系人以及对移动设备和桌面应用程序的支持。在文件标题中提到的“Configuring Microsoft Exchange Server 2010”,意味着本书是关于如何安装、配置和...

    ubuntu ref

    ### Ubuntu Reference: Key Commands and Concepts ... From managing privileges to configuring the display and network, this guide serves as a handy reference for anyone working with Ubuntu.

    Writing Testbenches using System Verilog

    Configuration Management . . . . . . . . 63 Working with Releases . . . . . . . . . . . . 65 Issue Tracking . . . . 66 What Is an Issue? . . . 67 The Grapevine System . . . . . . . . . . . . 68 ...

    NetWeaver Portal Technology: The Complete Reference. part2

    32 Configuring CCMS Monitoring and GRMG Availability Monitoring . . . 519 33 Tuning Portal Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541 Part VII ...

    vcpkg-master.zip

    The user-wide integration will prompt for administrator access the first time it is used on a given machine, but afterwards is no longer required and the integration is configured on a per-user basis...

    STM32F4 Discovery usb蓝牙模块驱动 - UUBT

    Btstack source probably needs configuring (I'm not sure). Couple of build options are currently implemented via Makefile variables, see Makefile head for details. Fix paths in Makefile and verify ...

Global site tag (gtag.js) - Google Analytics