上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页

2017年5月1日

摘要: IDEA发布应用时发布到lib下面的包不全,Tomcate启动时就报:At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete li 阅读全文
posted @ 2017-05-01 23:08 KenNgai 阅读(3590) 评论(0) 推荐(0) 编辑

2017年4月30日

摘要: 用Shiro做登录权限控制时,密码加密是自定义的。 数据库的密码通过散列获取,如下,算法为:md5,盐为一个随机数字,散列迭代次数为3次,最终将salt与散列后的密码保存到数据库内,第二次登录时将登录的令牌再进行同样的运算后再与数据库的做对比。 创建RetryLimitHashedCredentia 阅读全文
posted @ 2017-04-30 20:36 KenNgai 阅读(11473) 评论(0) 推荐(0) 编辑

2017年4月29日

摘要: 26个字母大小写加起来就是52个。对应的数字范围 阅读全文
posted @ 2017-04-29 20:03 KenNgai 阅读(11883) 评论(0) 推荐(0) 编辑

2017年4月22日

摘要: 使用Maven命令用MyBatis Generator生成MyBatis的文件步骤如下: 1.在mop文件内添加plugin 2.在resources文件夹下面配置generatorConfig.xml文件。要指定的有,数据库驱动,URL,USERNAME,PASSWORD,实体包,Mapper映射 阅读全文
posted @ 2017-04-22 23:28 KenNgai 阅读(16557) 评论(4) 推荐(1) 编辑

2017年4月12日

摘要: Spring Mvc中用ResponseEntity方式下载文件如下: 阅读全文
posted @ 2017-04-12 10:24 KenNgai 阅读(3559) 评论(2) 推荐(0) 编辑

2017年3月28日

摘要: Struts.2.5.5版本在Action配置文件中内有如下result,其中role是Action类中的属性,在配置文件中用到OGNL表达式 但是这样配置页面提交跳转时会发生以下错误: org.apache.struts2.dispatcher.HttpParameters cannot be c 阅读全文
posted @ 2017-03-28 23:58 KenNgai 阅读(1206) 评论(2) 推荐(0) 编辑

2017年3月14日

摘要: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... 阅读全文
posted @ 2017-03-14 21:53 KenNgai 阅读(1586) 评论(0) 推荐(0) 编辑

2017年2月28日

摘要: 在MAC机上安装好MySql后,在Terminal内运行mysql时会提示mysql command not found命令。这是因为没有把运行时的路径添加到$PATH变量中。检查$PATH变量中是否有MySql运行时的路径可以在Terminal内输入:echo $PATH 查看。 如果没有添加入系 阅读全文
posted @ 2017-02-28 21:46 KenNgai 阅读(916) 评论(0) 推荐(1) 编辑

2016年12月18日

摘要: 安装好MYSQL后,在System References中找到MYSQL,启动它。 启动之后在终端中输入添加MySQL路径的命令,把MYSQL路径添加到PATH中: PATH="$PATH":/usr/local/mysql/bin 在终端登录到MySQL的命令如下:mysql -u root -p 阅读全文
posted @ 2016-12-18 21:16 KenNgai 阅读(262) 评论(0) 推荐(0) 编辑

2016年12月7日

摘要: Homebrew官网:http://brew.sh Homebrew installs the stuff you need that Apple didn't Homebrew的安装非常简单,打开终端复制、粘贴以下命令。 2.如果你当前的环境变量还没有加入 mongod ,手动添加的环境变量中. 阅读全文
posted @ 2016-12-07 22:47 KenNgai 阅读(151) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页