会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
路迢迢
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
32
下一页
2018年11月30日
java.lang.ClassNotFoundException: org.springframework.boot.context.embedded.FilterRegistrationBean
摘要: java.lang.ClassNotFoundException: org.springframework.boot.context.embedded.FilterRegistrationBean 把pom.xml 中的spring-boot-starter-parent的version由1.3.5
阅读全文
posted @ 2018-11-30 14:39 路迢迢
阅读(2263)
评论(0)
推荐(0)
2018年11月29日
eureka-注册中心使用密码验证
摘要: spring cloud 1.1 版本之后可以使用 配置文件: bootstrap.yml pom文件需要spring-boot-starter-security的依赖 效果如下: 服务端指向注册中心的地址为: http://user:123@localhost:${server.port}/eur
阅读全文
posted @ 2018-11-29 17:26 路迢迢
阅读(4420)
评论(0)
推荐(0)
2018年11月27日
spring cloud 配置纲要Properties
摘要: encrypt.fail-on-error true 标记说,如果存在加密或解密错误,进程将失败。 encrypt.key 对称密钥。作为一个更强大的替代方案,考虑使用密钥库。 encrypt.key-store.alias 商店中的钥匙别名 encrypt.key-store.location 密
阅读全文
posted @ 2018-11-27 14:57 路迢迢
阅读(478)
评论(0)
推荐(0)
2018年11月23日
BigDecimal快速使用
摘要: double类型最多支持16位有效数字,且最大值只支持10^308次方,大一点的数字会变为科学计数法,小数精度不够等有一系列不方便的问题; 引进BigDecimal解决此类麻烦,弊端,BigDecimal没有double使用方便;具体如下; 警告警告!!!--> BigDecimal保留小数精度时,
阅读全文
posted @ 2018-11-23 14:56 路迢迢
阅读(679)
评论(0)
推荐(0)
2018年11月19日
数据库连接池-配置 wallfilter
摘要: 使用缺省配置的WallFilter 结合其他Filter一起使用 这样,拦截检测的时间不在StatFilter统计的SQL执行时间内。 如果希望StatFilter统计的SQL执行时间内,则使用如下配置 指定dbType 有时候,一些应用框架做了自己的JDBC Proxy Driver,是的Drui
阅读全文
posted @ 2018-11-19 16:27 路迢迢
阅读(3281)
评论(0)
推荐(0)
数据库连接池-配置 wallfilter问题解决-UncategorizedSQLException
摘要: org.springframework.jdbc.UncategorizedSQLException: ### Error querying database. Cause: java.sql.SQLException: sql injection violation, syntax error:
阅读全文
posted @ 2018-11-19 16:09 路迢迢
阅读(1821)
评论(0)
推荐(0)
2018年11月9日
maven统一配置
摘要: 在properties标签里自定义标签,引用时${java.version}
阅读全文
posted @ 2018-11-09 14:57 路迢迢
阅读(244)
评论(0)
推荐(0)
maven依赖排除
摘要: 单依赖过滤 同依赖过滤直接处理:可以过滤一个或者多个,如果过滤多个要写多个<exclusion>。 多依赖过滤
阅读全文
posted @ 2018-11-09 11:24 路迢迢
阅读(2890)
评论(0)
推荐(0)
2018年11月8日
list排序
摘要: 2 Collections.sort(List<T> list, Comparator<? super T> c); user类 输出结果: 1,user0022,user0043,user0064,user0015,user0035,user0056,user007
阅读全文
posted @ 2018-11-08 17:07 路迢迢
阅读(177)
评论(0)
推荐(0)
2018年11月7日
spring boot日志配置
摘要: 例子:
阅读全文
posted @ 2018-11-07 19:36 路迢迢
阅读(175)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
32
下一页
公告