SpringBoot踩坑笔记
ws_54321
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
SpringBoot踩坑记录(1)Invalid bound statement (not found)引发的一些列问题
SpringBoot踩坑记录(1)Invalid bound statement (not found)引发的一些列问题当你开开心心搭建了一个SpringBoot项目,用插件生成了entity、dao、mapper,写下第一个Controller准备试一下,结果却发现一条简单的查询报错了。{ "timestamp": "2019-03-18 16:21:48", ...原创 2019-03-18 17:07:23 · 47970 阅读 · 4 评论 -
SpringBoot自动寻找可用端口启动
首先实现这个需求需要解决2个问题1.如何在代码内动态的制定端口2.如何在启动时测试端口占用1.动态配置端口:参考:https://segmentfault.com/a/1190000014610478springboot 2.x 方法:Application类实现WebServerFactoryCustomizer<ConfigurableServletWeb...原创 2019-05-20 11:58:40 · 2496 阅读 · 0 评论
分享