-
Notifications
You must be signed in to change notification settings - Fork 81
Home
LovebuildJ edited this page Aug 7, 2020
·
6 revisions
其他问题请提交至Issues!
快速开始请看快速开始章节
本项目使用maven镜像如下:
<mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
<mirror>
<id>central</id>
<mirrorOf>*,!nexus-releases,!nexus-snapshots</mirrorOf>
<name>Maven Central</name>
<url>http://repo1.maven.org/maven2</url>
</mirror>
<!-- 切换阿里镜像下载maven -->
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
由于公司maven涉及隐私, 只能将公开的粘贴于此。
如果数据库连接报ssl证书问题,则是数据库版本问题。 可以将useSSL=true改为false即可
spring:
# --------------------------------------------- 数据库配置(默认使用mysql:5.5+) -----------------------------------#
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/book_manager?characterEncoding=utf-8&useSSL=true&serverTimezone=Asia/Shanghai
username: root
password: root