springboot
文章平均质量分 64
WMSmile
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
SpringBoot2.x+MybatisPlus+HikariCP多数据源动态配置
# SpringBoot2.x+MybatisPlus+HikariCP多数据源动态配置 >环境 >SpringBoot 2.7.0 >MybatisPlus 3.5.2 > [项目源码地址](https://gitee.com/248048936/SpringBootDemos/tree/master/DynamicMultiDatabase)原创 2022-08-12 18:30:00 · 1341 阅读 · 0 评论 -
springboot遇到java.sql.SQLSyntaxErrorException: Unknown database问题
springboot遇到java.sql.SQLSyntaxErrorException: Unknown database问题 ## java.sql.SQLSyntaxErrorException: Unknown database 'springboot' ```bash ERROR o.a.c.c.C.[Tomcat].[localhost].[/].[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in原创 2022-07-01 10:30:22 · 1805 阅读 · 0 评论 -
SpringBoot2.x简单实现定时任务功能
# SpringBoot2.x简单实现定时任务功能 ## 1、新建一个SpringBoot项目 可以使用[https://start.spring.io/](https://start.spring.io/)快速新建一个SpringBoot项目。 > 本教程使用的是2.7.4版本 ## 2、启动类启用定时 在启动类上面加上@EnableScheduling即可开启定时 ```java @EnableScheduling @SpringBootApplication public class Can原创 2022-06-16 15:45:45 · 363 阅读 · 0 评论 -
Springboot实战之spring-boot-starter-data-elasticsearch搭建ES搜索接口
Springboot实战之spring-boot-starter-data-elasticsearch搭建ES搜索接口原创 2022-03-09 13:59:01 · 3369 阅读 · 0 评论 -
springboot2.x集成swagger 404 not found的问题
有时候我们参考别人的博客和文章,来实现集成swagger的问题。你看文章的版本太老,所以手贱使用最新版,导致404.参考网上的文章也是无解,最后再springfox官方github找到了原因。 博客使用的2.9.x,我使用最新的3.0.0然后怎么访问都是404,最后发现访问地址的问题。 swagger3.x 的访问地址: http://xxx:8080/swagger-ui/ swagger2.x 的访问地址: http://xxx:8080/swagger-ui.html 最后附录: swagger2原创 2021-08-02 19:26:23 · 2787 阅读 · 0 评论
分享