会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jwentest
不想当开发的产品不是好测试
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
下一页
2017年7月15日
Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if expl
摘要: Spring boot 启动提示: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6
阅读全文
posted @ 2017-07-15 16:46 whendream
阅读(517)
评论(0)
推荐(0)
2017年7月14日
spring boot 登录注册 demo (四) -- 体验小结
摘要: 之前没有折腾过Spring,直接上来怼Spring Boot异常痛苦,参考着官网的guide(https://spring.io/guides)写了几个demo; spring boot 跑起来确是方便,有种python的感觉,几行代码就可以起一个web服务,还不用自己去配置tomcat之类的; 于
阅读全文
posted @ 2017-07-14 21:27 whendream
阅读(1271)
评论(0)
推荐(0)
spring boot 登录注册 demo (三) -- 前后端传递
摘要: 前端页面通过thymeleaf渲染 前后端的传递关键在html上面,请看代码: th:action="@{/userLogin}" 表示这个form表单的action会指向/userLogin th:object="${user}" 表示form表单的内容会以user的形式传递 th:field:"
阅读全文
posted @ 2017-07-14 21:18 whendream
阅读(6587)
评论(0)
推荐(0)
spring boot 登录注册 demo (二) -- 数据库访问
摘要: 通过data-jpa来访问数据库 记得加上mysql-connector-java的依赖,不然提示找不到jdbc驱动 数据源配置,spring boot的配置文件是:application.properties 根据自己需求配置 数据库的操作非常简单,JPA会根据解析User类中的参数从而得到方法
阅读全文
posted @ 2017-07-14 21:08 whendream
阅读(6710)
评论(0)
推荐(0)
2017年7月13日
spring boot 登录注册 demo (一)
摘要: 代码结构 详细代码说明 pom.xml 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XM
阅读全文
posted @ 2017-07-13 22:03 whendream
阅读(4520)
评论(0)
推荐(0)
2017年7月10日
linux 简易启动脚本
摘要: 可以参考这个demo
阅读全文
posted @ 2017-07-10 16:08 whendream
阅读(276)
评论(1)
推荐(0)
java array to list
摘要: 背景 想把数组转为list,使用list的判断元素是否存在的方法,结果发现一个坑,int类型的数组失败了 步骤 这样不行,会有boxing issue google结果是这样 java 8 的话可以这样: 可以参考:https://www.mkyong.com/java/java-how-to-co
阅读全文
posted @ 2017-07-10 14:34 whendream
阅读(594)
评论(0)
推荐(0)
nGrinder 简易使用教程
摘要: 背景 性能压测工具之前使用的是jmeter,这次说的是nGrinder,先直接搬运两者之间的比较 这里还有一个详细的对比: http://qa.blog.163.com/blog/static/19014700220125264628978/ nGrinder采用的controler-agent模式
阅读全文
posted @ 2017-07-10 11:28 whendream
阅读(11970)
评论(6)
推荐(1)
页面json 格式化+颜色高亮
摘要: 背景 应答为json,为了更好的展示在前端页面,需要对其格式化加颜色高亮 效果图 步骤 js中添加 css中添加 参考资料 https://stackoverflow.com/questions/4810841/how-can-i-pretty-print-json-using-javascript
阅读全文
posted @ 2017-07-10 11:02 whendream
阅读(4836)
评论(0)
推荐(0)
2017年7月3日
通过maven test 报org.apache.ibatis.binding.BindingException: Invalid bound statement
摘要: 背景 直接使用eclipse工具去执行,没有问题,通过testng.xml去执行,没有问题,但通过mvn clean test执行,就报错,提示org.apache.ibatis.binding.BindingException: Invalid bound statement 解决方法 首先先肯定
阅读全文
posted @ 2017-07-03 22:45 whendream
阅读(899)
评论(0)
推荐(0)
jenkins 多选框
摘要: 背景jenkins自带的参数化不支持多选框,不过有插件支持:Extended Choice Parameter Plug-In插件地址: https://plugins.jenkins.io/extended-choice-parameter 使用教程 Name -- 定义变量名 Parameter
阅读全文
posted @ 2017-07-03 22:38 whendream
阅读(6114)
评论(1)
推荐(0)
jstack jstat 简易使用教程
摘要: jstack – 用来查看堆栈信息 jstat – 用来查看JVM相关信息 jstack用法 找到线程id后,转为16进制 printf "%x\n" [id] printf "%x\n" [id] printf "%x\n" [id] printf "%x\n" [id] printf "%x\n
阅读全文
posted @ 2017-07-03 11:15 whendream
阅读(1214)
评论(0)
推荐(0)
nmon 使用
摘要: 官网:http://nmon.sourceforge.net/pmwiki.php 步骤 1. 下载nmon到linux上; 2. 解压tar包,根据使用的linux版本选择使用的文件,并对其加上使用权限chmod a+x 3. 直接执行文件即可使用 c -- 查看CPU m -- 查看内存 n -
阅读全文
posted @ 2017-07-03 10:46 whendream
阅读(455)
评论(1)
推荐(0)
2017年6月27日
linux系统参数调优
摘要: 执行 ulimit -a 查看系统配置 需要修改max user processes 和 open files 这两个值 vim /etc/security/limits.conf #新增下面几行 * soft nofile 65535 * hard nofile 65535 * soft npro
阅读全文
posted @ 2017-06-27 20:37 whendream
阅读(324)
评论(1)
推荐(0)
2017年6月24日
python 项目中的 requirements.txt
摘要: 背景 java项目的话,包依赖一般都是maven管理,当然还有gradle,对于包的管理非常方便,maven的话只要在pom.xml中添加依赖包的maven坐标就可以了的,那python呢 ? 解决方法 现在的python版本都自带pip功能的,安装第三方包直接pip install xxx,和li
阅读全文
posted @ 2017-06-24 17:23 whendream
阅读(397)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
下一页
公告