上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 31 下一页
摘要: 配置多个数据源启动报错,error querying database. Cause: java.lang.IllegalArgumentException: dataSource or dataSourceClassName or jdbcUrl is required, 主要原因是在1.0 配置 阅读全文
posted @ 2018-08-16 10:02 newlangwen 阅读(20636) 评论(0) 推荐(2) 编辑
摘要: 获取数据字段(表的字段和类型信息) 阅读全文
posted @ 2018-08-07 18:41 newlangwen 阅读(3877) 评论(0) 推荐(0) 编辑
摘要: 1. YAML无法通过@PropertySource注解来加载配置,但是YAML将属性加载到内存中保存的时候是有序的,所以当 配置文件中的信息需要具备顺序含义时,YAML的配置方式比properties配置文件更有优势。 阅读全文
posted @ 2018-08-06 19:13 newlangwen 阅读(144) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/Alandre/p/6611813.html 阅读全文
posted @ 2018-08-06 19:03 newlangwen 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 一、spring-boot-devtools 在pom中直接引入依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>tru 阅读全文
posted @ 2018-07-05 18:15 newlangwen 阅读(645) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/whatlookingfor/article/details/51538995 在SpringMVC框架中使用Freemarker试图时,要获取根路径的方式如下: 其中property name=”requestContextAttribute” valu 阅读全文
posted @ 2018-07-05 17:58 newlangwen 阅读(1350) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013238512/article/details/79401281 阅读全文
posted @ 2018-07-02 21:42 newlangwen 阅读(86) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/cml_blog/article/details/70196572 Spring Web MVC 的配置 Bean :WebMvcProperties 阅读全文
posted @ 2018-07-01 21:17 newlangwen 阅读(466) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/dm_vincent/article/details/76735888 阅读全文
posted @ 2018-07-01 09:49 newlangwen 阅读(105) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u010502101/article/details/78758330 @ConfigurationProperties注解主要用来把properties配置文件转化为bean来使用的,而@EnableConfigurationProperties注解的作 阅读全文
posted @ 2018-06-27 08:55 newlangwen 阅读(1027) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 31 下一页