自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

原创 redis --MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d

今天运行Redis时发生错误,错误信息如下:(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redi

2016-12-07 15:52:59 175

转载 redis 问题解决(MISCONF Redis is configured to save RDB snapshots)

http://www.myexception.cn/database/1456097.html(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are

2016-05-24 10:07:46 782

原创 设置Tomcat的UTF-8编码

使用web过程中有时出现文字乱码:修改Tomcat的server.xml文件的Connector项,增加URIEncoding="UTF-8"               connectionTimeout="20000"                redirectPort="8443" URIEncoding="UTF-8" />

2016-04-01 10:33:18 262

原创 linux实用命令

登录mysql:mysql -u appbase -pmysql  管理命令service mysql startservice mysql stopservice mysql restartlinux下:service mysqld starttomcat启动命令cd /usr/local/tomcat/bincd /usr/loc

2016-03-29 17:57:02 503

原创 spring 使用注解来定义联合主键

Hibernate注解规范的文档中提供了三种方法:     1. 将组件类注解为@Embeddable,并将组件的属性注解为@Id;     2. 将组件的属性注解为@Embeddable;     3. 将类注解为@IdClass,并将该实体中所有主键属性注解为@Id。这里,我采用的是第三种方法——@IdClass,下面就是具体的代码,大家一块讨论一下。

2016-03-29 17:34:37 3192

原创 file:${user.dir}:spring读取工程外的properties文件

因为生产和开发测试的环境不同,所以有时候需要把properties文件放在包外方便修改配置。  spring配置文件如下:  <context:property-placeholder location="file:${user.dir}/wbaobei/conf/data-access.properties"/>linux环境:file:${user.di...

2016-03-29 17:12:24 4490

原创 easyUI中layout布局隐藏动态实现

对layout添加方法 /** * layout方法扩展 * @param {Object} jq * @param {Object} region */ $.extend($.fn.layout.methods, { /** * 面板是否存在和可见

2016-02-26 10:32:08 5400

提示
确定要删除当前文章?
取消 删除