上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 71 下一页

造成 nginx 403 forbidden 的几种原因

摘要: http://blog.csdn.net/fairplay_li/article/details/9411423 Forbidden , 从字面意思上来讲是拒绝的意思,因此第一印象想到的就是权限问题了,意思就是说,你当前nginx用户对目标文件,如index... 阅读全文
posted @ 2017-06-07 11:11 silyvin 阅读(240) 评论(0) 推荐(0) 编辑

hinernate ddl 设置

摘要: http://www.cnblogs.com/blogyuan/p/3739661.htmlvalidate 加载hibernate时,验证创建数据库表结构create 每次加载hibernate,重新创建... 阅读全文
posted @ 2017-05-26 22:38 silyvin 阅读(120) 评论(0) 推荐(0) 编辑

线程池造成服务器内存泄漏

摘要: 部署新包的时候,发现tomcat起不来了,一看内存,服务器内存吃光了,进而发现java有多余进程然后发现 tomcat shutdown时,并没有释放java,造成内存奔溃了参考此帖:https://zhidao.baidu.com/question/4335... 阅读全文
posted @ 2017-05-24 17:09 silyvin 阅读(313) 评论(0) 推荐(0) 编辑

使用jdbcTemplate查询返回自定义对象集合

摘要: 1、在UserInfo.java中添加一个Map转换为UserInfo的方法[java] view plain copypublic static UserInfo toObject(Map map) { UserInfo userInfo = new Us... 阅读全文
posted @ 2017-05-19 17:22 silyvin 阅读(4375) 评论(0) 推荐(0) 编辑

tomcat 启动慢 Creation of SecureRandom instance for session ID generation using [SHA1PRNG]took [xx] mil

摘要: http://blog.csdn.net/u011627980/article/details/54024974http://www.cnblogs.com/t-road/p/6861882.html# vim /usr/local/tomcat/bin/catali... 阅读全文
posted @ 2017-05-17 16:22 silyvin 阅读(202) 评论(0) 推荐(0) 编辑

nginx 及 tomcat 端口冲突问题

摘要: nginx 监听 80 转发 8088 tomcat原先通过80 及 8088 都能访问,区别是 80就走nginx转发,8088则直接走tomcat证据为:80端口,nginx强行过滤掉css和js后,页面出来无样式和响应,而走8088的话,直接走to... 阅读全文
posted @ 2017-05-17 15:09 silyvin 阅读(2245) 评论(0) 推荐(0) 编辑

使用@ControllerAdvice及@ExceptionHandler(value = Exception.class)全局异常处理

摘要: http://snowolf.iteye.com/blog/1636050Spring 注解学习手札(八)补遗——@ExceptionHandlerhttp://412887952-qq-com.iteye.com/blog/2291524全局异常捕捉【从零开始学Sp... 阅读全文
posted @ 2017-05-11 09:35 silyvin 阅读(1140) 评论(0) 推荐(0) 编辑

spring boot 事务的一些实践

摘要: 起先:@Service@Transactionalclass xxxService indMsgDao.batchRead(userId); List list = indMsgDao.findByUserId(userId, pageab... 阅读全文
posted @ 2017-05-10 21:08 silyvin 阅读(136) 评论(0) 推荐(0) 编辑

spring boot jpa update 操作

摘要: 有好多文章介绍了spring boot 博客已经很多了比如说: http://blog.csdn.net/linzhiqiang0316/article/details/52639265 http://blog.csdn.net/linzhiqiang0316/article/details/526... 阅读全文
posted @ 2017-05-10 20:56 silyvin 阅读(421) 评论(0) 推荐(0) 编辑

Integer vs int

摘要: http://www.cnblogs.com/liuling/archive/2013/05/05/intAndInteger.html 如果面试官问Integer与int的区别:估计大多数人只会说道两点,Ingeter是int的包装类,int的初值为0,Ingeter的初值为null。但是如果面试 阅读全文
posted @ 2017-05-09 14:45 silyvin 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 71 下一页