首页
技术
登录
6mi
u
盘
搜
搜 索
技术
springboot中自定义配置遇到的问题
springboot中自定义配置遇到的问题
技术
2025-12-28
4
springboot中自定义配置遇到的问题
@Bean
public
LocaleResolver
localeResolver
(
)
{
return
new
MyLocalResolver
(
)
;
}
当前方法名就是注入springboot容器的bean的名字,应为返回类型首字母小写,不能乱写!!
转载请注明原文地址:https://ipadbbs.8miu.com/read-61763.html
最新回复
(
0
)