加上spring-session,项目无法启动
来源:4-2 SpringSecurity基本原理

时间尘埃
2019-06-08
启动日志如下:
2019-06-08 14:34:38.426 INFO 3937 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@6ef888f6: startup date [Sat Jun 08 14:34:38 CST 2019]; root of context hierarchy
2019-06-08 14:34:39.149 INFO 3937 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-06-08 14:34:39.297 INFO 3937 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$9344e9ec] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.0.8.RELEASE)
2019-06-08 14:34:39.681 INFO 3937 --- [ main] com.imooc.DemoApplication : No active profile set, falling back to default profiles: default
Process finished with exit code 1
写回答
2回答
-
请用Spring Boot 1.5版本,课程录的时候还没有Spring Boot 2,所以有些配置在2里是不行的
10 -
时间尘埃
提问者
2019-06-20
?该问题已处理,自己整了整包的依赖!
10
Spring Security技术栈开发企业级认证与授权
Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全
2662 学习 · 1561 问题
相似问题