![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
chengxi666
这个作者很懒,什么都没留下…
展开
-
SpringBoot多模块时配置mybatis-generator生成的mapper.xml文件
首先,我将项目分解为了五个子模块,分别为core、model、mapper、service和web模块。其中mapper模块主要负责配置mybatis相关的mapper文件,web模块中配置controller相关的类,主配置文件application.properties放在了web模块下。mybatis-generator的配置文件配置在主模块下。项目结构如图所示: 主模块 we...原创 2019-07-25 10:13:10 · 2486 阅读 · 0 评论 -
SpringBoot集成WebSocket实现服务器端主动推送
步骤 maven配置依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </depende...原创 2019-08-17 21:26:45 · 686 阅读 · 0 评论