SecurityProperties的bean找不到

来源:6-8 令牌配置

丽濡

2018-01-22

运行主类的路径在com.lovabye.security

这是错误信息com.lovabye.security.app.AuthorizationServerConfig required a bean of type 'com.lovabye.security.core.properties.SecurityProperties' that could not be found.我把运行主类放在com.lovabye.security.core路径下能跑起来,但是无法登录了.扫描包的机制到底是怎么样呢,不是扫本包和子包么,那应该能找到啊?

写回答

3回答

JoJo

2018-01-22

把主类放在com.lovabye下。

0
2
丽濡
非常感谢!
2018-01-22
共2条回复

丽濡

提问者

2018-01-22

http://blog.csdn.net/machuang30508/article/details/78616501

0
0

丽濡

提问者

2018-01-22

是我自己少了一个类

0
2
丽濡
回复
慕沐5385969
我是下群里的
2018-03-20
共2条回复

Spring Security技术栈开发企业级认证与授权

Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全

2662 学习 · 1561 问题

查看课程