![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring配置
月慕向阳
....
展开
-
springboot日期Date和LocalDateTime返回格式问题处理
springboot日期Date和LocalDateTime返回格式问题处理原创 2022-09-08 13:59:15 · 748 阅读 · 0 评论 -
(转)web.xml中的contextConfigLocation在spring中的作用
一、Spring如何使用多个xml配置文件 1、在web.xml中定义contextConfigLocation参数,Spring会使用这个参数去加载所有逗号分隔的xml文件,如果没有这个参数,Spring默认加载web-inf/applicationContext.xml文件。 例如:<context-param> <param-name>con...转载 2019-04-19 07:39:12 · 399 阅读 · 0 评论 -
注入同一个@Configuration注解的类里的其他@Bean注解的bean
原创 2019-05-07 08:35:17 · 4557 阅读 · 0 评论 -
SpringUtil工具类
package com.sykj.util;import org.springframework.beans.BeansException;import org.springframework.context.ApplicationContext;import org.springframework.context.ApplicationContextAware;public cla...原创 2019-08-19 15:58:37 · 6357 阅读 · 0 评论