![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
文章平均质量分 92
沐烬
皆有定数
展开
-
Spring AOP 自定义注解检查请求头(示例)
代码传送门 需求 一个 Controller 可以处理 HTTP 请求 @RestController public class DemoController { @GetMapping("/hello") public String hello(@RequestParam String name) { return "Hello, " + name; }...原创 2018-11-14 18:17:21 · 6217 阅读 · 6 评论 -
Spring Boot yml 文件中无法通过 @@ 使用 pom 文件中定义的变量
Spring Boot yml 文件中无法通过 @@ 使用 pom 文件中定义的变量 错误信息如下 java.lang.IllegalStateException: Failed to load property source from location 'classpath:/application.yml' ... ... Caused by: while scanning for the ...原创 2019-07-19 09:42:33 · 9419 阅读 · 7 评论