Commit 0ae277b9 by fengshuonan

修复启动错误的bug

parent ac30f2f9
......@@ -36,6 +36,11 @@
<groupId>com.stylefeng</groupId>
<artifactId>guns-core</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
</dependencies>
<build>
......
......@@ -3,7 +3,7 @@ package com.stylefeng.guns.rest;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication(scanBasePackages = {"com.stylefeng.guns"})
@SpringBootApplication
public class GunsRestApplication {
public static void main(String[] args) {
......
......@@ -10,7 +10,7 @@ jwt:
md5-key: randomKey #md5加密混淆key
server:
port: 80 #项目端口
port: 8080 #项目端口
mybatis-plus:
mapper-locations: classpath*:com/stylefeng/guns/rest/**/mapping/*.xml
......@@ -28,7 +28,7 @@ mybatis-plus:
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/guns_rest?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull
url: jdbc:mysql://127.0.0.1:3306/guns_rest?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=UTC
username: root
password: root
filters: log4j,wall,mergeStat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment