- 博客(5)
- 资源 (8)
- 收藏
- 关注
原创 org.apache.ibatis.reflection.ReflectionException: Error instantiating class with invalid types
大家好,我是烤鸭,记录一个初级异常,百度搜索结果不多:Caused by: org.apache.ibatis.reflection.ReflectionException: Error instantiating class com.xxx.xxx with invalid types 。java.lang.NoSuchMethodException: com.xxx.xxx.<...
2018-03-29 16:28:29 3308 1
原创 Unable to locate the default servlet for serving static content. Please set the 'defaultServletName'
大家好,我是烤鸭。今天分享一个莫名其妙的异常及解决方式。环境:tomcat6 jdk 1.6异常主体:java.lang.IllegalStateException: Unable to locate the default servlet for serving static content. Please set the 'defaultServletName' property explic...
2018-03-27 14:06:45 8755
原创 springboot中的拦截器interceptor和过滤器filter,多次获取request参数
大家好,我是烤鸭: 这是一篇关于springboot的拦截器(interceptor)和过滤器(Filter)。 先说一下过滤器和拦截器。区别:1. servlet请求,顺序:Filter ——> interceptor。2. Filter的作用是对所有进行过滤,包括接口或者静态资源,interceptor 仅拦截 请求。3. Filter对请求或者资源进行过滤,筛选合适的请求或者资源。in...
2018-03-07 17:41:37 10604 3
原创 springboot多环境加载yml和logback配置
大家好,我是烤鸭: 这是一篇关于springboot多环境加载yml和logback配置文件。环境: 开发工具 idea(推荐)/eclipse(对yml支持不好) jdk 1.8 springboot 1.5.6.RELEASE1. yml和logback文件 1.1 结构,如图所示: 1.2 application.yml (默认加载的初始化文件) #开发...
2018-03-05 16:27:30 10819
原创 HashMap jdk1.7和1.8概述
大家好,我是烤鸭: 这是一篇关于HashMap的概述和底层原理的介绍。算是网上很多帖子的综合和我自己的一点想法。 HashMap在jdk1.8以前是数组+链表。 在jdk1.8以后是数组+链表+红黑树。一点点分析数据结构。1. Map中的entry对象:static class Node<K,V> implements Map.Entry<K,V> { fi...
2018-03-01 19:33:42 1008
ta-lib依赖,windows-64位
2023-12-07
springboot 2.x websocket整合
2018-11-13
jqweui的picker插件动态加载数据
2017-12-22
JAVA实现类似美团电影价格图片数识别
2017-12-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人