# spring-boot-example **Repository Path**: cacoota/spring-boot-example ## Basic Information - **Project Name**: spring-boot-example - **Description**: springboot模块示例代码与研究,参见github同步代码:https://github.com/yacoota/spring-boot-example.git - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-boot-example springboot模块示例代码与研究 #### 主要内容 ##### 分模块展示示例代码 - [参考文档]https://guides.gradle.org/creating-multi-project-build > 基础定时任务框架 #### 问题记录 ##### 1、项目模块集成插件 > 使用插件集成 ``` implementation platform('org.springframework.boot:spring-boot-dependencies:2.2.6.RELEASE') ``` > 插件出现问题,无法支持lombok配置,暂时废弃 ``` id 'org.springframework.boot' version '2.2.6.RELEASE' id 'io.spring.dependency-management' version '1.0.9.RELEASE' ``` ##### 2、项目打包方式 > 引入maven插件打包,否则没有install命令。
> 使用build打包会应用bootJar,暂时不用此种方式。 ```$xslt gradle clean install --info ``` ##### 3、项目运行方式 ##### 4、redis集成中出现的问题 > 必须手工引入org.apache.commons:commons-pool2包,否则无法启动,切不报错,坑爹家伙。 ##### 5、mysql集成中出现的问题 > 驱动没有引用设置的版本,需要升级驱动类:com.mysql.cj.jdbc.Driver,小问题,随后强制降级继续走起。