摘要: 在使用spring-data-redis时使用junit测试报错: java.lang.IllegalArgumentException: template not initialized; call afterPropertiesSet() before using 通过跟踪代码发现是这一句出了问 阅读全文
posted @ 2016-11-02 16:49 xuxu_dragon 阅读(10711) 评论(0) 推荐(2) 编辑
摘要: Access denied for user 'Administrator'@'localhost' (using password: YES) 配置文件中明明是用的root 可为什么mybatis为报错说是'Administrator'@'localhost'出错呢? 原来userName在作为k 阅读全文
posted @ 2016-09-19 10:35 xuxu_dragon 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 在配置一个springmvc+mybatis的项目时,总是有报一个错误: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.mapper 阅读全文
posted @ 2016-09-18 17:11 xuxu_dragon 阅读(27372) 评论(0) 推荐(0) 编辑
摘要: Unable to install breakpoint inXXXX due to missing line number attributes.modify compiler options to generate line number attrbueclipse due to missing 阅读全文
posted @ 2016-09-08 10:37 xuxu_dragon 阅读(878) 评论(0) 推荐(0) 编辑
摘要: This kind of launch is configured to open the Debug perspective when it suspends. 阅读全文
posted @ 2016-09-08 10:32 xuxu_dragon 阅读(1470) 评论(0) 推荐(0) 编辑
摘要: 启动activeamq,启动时控制台显示: INFO: Using java '/usr/bin/java'INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get de 阅读全文
posted @ 2016-07-18 16:28 xuxu_dragon 阅读(4899) 评论(0) 推荐(0) 编辑
摘要: mybatis-generator-core-1.3.3下载地址:http://blog.mybatis.org/p/products.html 下载后名解压,进入lib目录 修改一个GeneratorConfig.xml文件: shift+鼠标右键,打开cmd命令行窗口: C:\Users\xxl 阅读全文
posted @ 2016-07-18 12:12 xuxu_dragon 阅读(725) 评论(0) 推荐(0) 编辑
摘要: rpm -qa|grep -i mysqlmysql-libs-5.1.52-1.1.alios6.1.x86_64mysql-5.1.52-1.1.alios6.1.x86_64mysql-devel-5.1.52-1.1.alios6.1.x86_64sudo rpm -e --nodeps m 阅读全文
posted @ 2016-07-11 12:10 xuxu_dragon 阅读(397) 评论(0) 推荐(0) 编辑
摘要: log4j.properties: BASE_DIR= /home/admin/preprocess-tmc-city/logslog4j.rootLogger=debug,stdout,debug,info,warn,error log4j.appender.stdout=org.apache.l 阅读全文
posted @ 2016-06-29 14:39 xuxu_dragon 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 新建etc/yum.repos.d/nginx.repo文件,添加以下内容:[nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1 yum 阅读全文
posted @ 2016-06-21 21:52 xuxu_dragon 阅读(307) 评论(0) 推荐(0) 编辑