
SpringBoot
NoNameMing
坚持。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
「SpringBoot踩坑」无法连接 服务器/虚拟机中的数据库,报错Access denied for user 'root'@'192.168.1.101' (using password: NO)
情境 在用 yml 配置 SpringBoot 连接虚拟机数据库时,不但连接不上、项目无法启动,报错还是本地连接失败。 报错 Access denied for user 'root'@'192.168.1.101' (using password: NO) 解决 由于项目刚刚搭起来,我想还是配置问题。因为配的数据库地址不是本机的数据库,配置IP与报错不符,所以还是去 yml 配置中去找。最后通过...原创 2019-11-29 10:41:43 · 2814 阅读 · 1 评论 -
「SpringBoot踩坑」yml 中 server.context-path 配置不起作用
情境 使用遇到了 SpringBoot 1.5.2.RELEASE 版本遇到了 server.context-path 配置不起作用的问题。 进入设计好的 url 对应报错如下: Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallbac...原创 2019-11-29 10:28:42 · 3789 阅读 · 2 评论