上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 32 下一页
摘要: 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 路迢迢 阅读(2166) 评论(0) 推荐(0) 编辑
摘要: spring cloud 1.1 版本之后可以使用 配置文件: bootstrap.yml pom文件需要spring-boot-starter-security的依赖 效果如下: 服务端指向注册中心的地址为: http://user:123@localhost:${server.port}/eur 阅读全文
posted @ 2018-11-29 17:26 路迢迢 阅读(4393) 评论(0) 推荐(0) 编辑
摘要: encrypt.fail-on-error true 标记说,如果存在加密或解密错误,进程将失败。 encrypt.key 对称密钥。作为一个更强大的替代方案,考虑使用密钥库。 encrypt.key-store.alias 商店中的钥匙别名 encrypt.key-store.location 密 阅读全文
posted @ 2018-11-27 14:57 路迢迢 阅读(439) 评论(0) 推荐(0) 编辑
摘要: double类型最多支持16位有效数字,且最大值只支持10^308次方,大一点的数字会变为科学计数法,小数精度不够等有一系列不方便的问题; 引进BigDecimal解决此类麻烦,弊端,BigDecimal没有double使用方便;具体如下; 警告警告!!!--> BigDecimal保留小数精度时, 阅读全文
posted @ 2018-11-23 14:56 路迢迢 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 使用缺省配置的WallFilter 结合其他Filter一起使用 这样,拦截检测的时间不在StatFilter统计的SQL执行时间内。 如果希望StatFilter统计的SQL执行时间内,则使用如下配置 指定dbType 有时候,一些应用框架做了自己的JDBC Proxy Driver,是的Drui 阅读全文
posted @ 2018-11-19 16:27 路迢迢 阅读(3042) 评论(0) 推荐(0) 编辑
摘要: org.springframework.jdbc.UncategorizedSQLException: ### Error querying database. Cause: java.sql.SQLException: sql injection violation, syntax error: 阅读全文
posted @ 2018-11-19 16:09 路迢迢 阅读(1620) 评论(0) 推荐(0) 编辑
摘要: 在properties标签里自定义标签,引用时${java.version} 阅读全文
posted @ 2018-11-09 14:57 路迢迢 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 单依赖过滤 同依赖过滤直接处理:可以过滤一个或者多个,如果过滤多个要写多个<exclusion>。 多依赖过滤 阅读全文
posted @ 2018-11-09 11:24 路迢迢 阅读(2879) 评论(0) 推荐(0) 编辑
摘要: 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 路迢迢 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 例子: 阅读全文
posted @ 2018-11-07 19:36 路迢迢 阅读(166) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 32 下一页