摘要:
解决:配置文件路径错误,正确格式为 spring.datasource.url=jdbc:mysql://localhost:3306/test 如果数据库是mysql6版本,还应加上时区, 所以完整写法: url = jdbc:mysql://localhost:3306/test?serverT 阅读全文
posted @ 2020-03-19 22:27
tomer0
阅读(7936)
评论(2)
推荐(0)
摘要:
and().formLogin().loginPage("login_p").loginProcessingUrl("/login")修改为 and().formLogin().loginPage("/login_p").loginProcessingUrl("/login") 阅读全文
posted @ 2020-03-19 21:47
tomer0
阅读(969)
评论(0)
推荐(1)
Autowired注入Service失败!required a bean of type 'com.lncywlc.rio.service.UserService' that could not be
摘要:
错误信息:Field userService in com.lncywlc.rio.controller.LoginController required a bean of type ‘com.lncywlc.rio.service.UserService’ that could not be f 阅读全文
posted @ 2020-03-19 21:08
tomer0
阅读(1040)
评论(0)
推荐(0)

浙公网安备 33010602011771号