摘要: 原因 因为没有路径也没有权限,所以创建此路径并授权给mysql用户 mkdir /var/log/mariadb touch /var/log/mariadb/mariadb.log # 用户组及用户 chown -R mysql:mysql /var/log/mariadb/ /usr/local 阅读全文
posted @ 2020-06-24 17:34 一只桔子2233 阅读(6187) 评论(0) 推荐(1)
摘要: import java.io.IOException; import java.util.List; import java.util.Map; import java.util.TimeZone; import org.apache.commons.lang3.StringEscapeUtils; 阅读全文
posted @ 2020-06-24 14:58 一只桔子2233 阅读(905) 评论(0) 推荐(0)
摘要: 1、配置文件 <ehcache.version>2.6.11</ehcache.version> <ehcache-web.version>2.0.4</ehcache-web.version> <dependency> <groupId>net.sf.ehcache</groupId> <arti 阅读全文
posted @ 2020-06-24 10:15 一只桔子2233 阅读(155) 评论(0) 推荐(0)
摘要: 1、配置 全局设置ApplicationContext需在spring配置文件配置<bean class="com.kikyo.listener.SpringContextHolder" lazy-init="false"/>,在spring在初始化时,扫描实现了ApplicationContext 阅读全文
posted @ 2020-06-24 10:03 一只桔子2233 阅读(550) 评论(0) 推荐(0)