ERROR - Error reading /oscache.properties in CacheAdministrator.loadProps() java.lang.NullPointerException
ERROR - Ensure the /oscache.properties file is readable and in your classpath.
导入包,修改好数据库连接,oscache.properties这个文件找不到了,报了这个错啊!一般这个文件怎么丢失了呢?怎么把它找回来?
ERROR - Ensure the /oscache.properties file is readable and in your classpath.
导入包,修改好数据库连接,oscache.properties这个文件找不到了,报了这个错啊!一般这个文件怎么丢失了呢?怎么把它找回来?
osCache的配置文件
从src或etc目录取得oscache. properties 文件,放入src根目录或发布环境的/WEB-INF/classes 目录
就可以了
cache.memory=true
cache.capacity=1000
我也打个记号……