- 博客(9)
- 收藏
- 关注
原创 docker容器删除重装其他版本出现exit(1)问题
问题:我将elasticsearch:7.17.8 容器和镜像删除后重新拉取了elasticsearch:7.17.6镜像,运行容器成功后秒退出。所以就是还是执行的之前的版本,就是我没有删除干净,排查很久发现是因为挂载卷的问题,我的容器关联了挂载卷。虽然我已经删除容器和镜像,但是关联的挂载卷并没有删除,导致后面的版本配置依旧被之前的配置覆盖。重新运行容器就可以啦!
2022-12-14 23:44:27
1005
2
转载 关于springboot2.0.0配置多数据源出现jdbcUrl is required with driverClassName的错误
在Spring Boot 1.5.x之前,多数据源编程已经有很多教程和例子了,比如恒宇少年的博客还有程序猿DD的博客,我就是在两位大拿的教程下学习的。但是在升级到Spring Boot 2.0后,一些配置及用法有了变化,如果不小心就会碰到“jdbcUrl is required with driverClassName.”的错误,详细错误信息可以查看这里。我经过一番努力,查找资料,终于找到了解...
2018-09-25 10:49:28
1157
原创 There is no PasswordEncoder mapped for the id "null" || Encoded password does not look like BCryp
There is no PasswordEncoder mapped for the id "null"官方查阅spring security 5.0 版本后新增PasswordEncoder多种加密方式,也改变加密格式现如今Spring Security中密码的存储格式是“{id}…………”。前面的id是加密方式,id可以是bcrypt、sha256等,后面跟着的是加密后的密码。也就是说...
2018-09-19 11:19:07
902
原创 映射导致的错误@RequestMapping("/")
错误:映射导致得错误@Controller类默认使用@RequestMapping("/"),所以该类下得方法不能再使用该映射Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘requestMappingHandlerMapping’ defin...
2018-09-18 17:16:27
526
原创 Spring Security错误
因为一个“/”引发的异常灾难因为少写了一个“/”符号,浪费我大量时间,搞笑,定向的是 方法 而不是界面Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.2018-09-18 16:32:29.662 ERROR 763...
2018-09-18 17:15:43
3904
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人