deason 7 rokov pred
rodič
commit
63ac8fc49a

+ 2 - 4
src/main/resources/application-dev.properties

@@ -1,6 +1,6 @@
 # mvc config
 server.port=8090
-server.context-path=/
+server.servlet.context-path=/
 server.tomcat.uri-encoding=UTF-8
 spring.freemarker.request-context-attribute=request
 spring.freemarker.settings.number_format=#
@@ -8,6 +8,7 @@ spring.freemarker.suffix=.ftl
 # logs config
 logging.file=logs/logging.txt
 logging.level.org.springframework=WARN
+logging.level.org.hibernate=WARN
 logging.level.org.apache=WARN
 logging.level.com.qmth=DEBUG
 logging.level.cn.com.qmth=DEBUG
@@ -18,9 +19,6 @@ spring.datasource.password=root
 spring.datasource.driverClassName=com.mysql.jdbc.Driver
 spring.jpa.show-sql=false
 spring.jpa.hibernate.ddl-auto=update
-spring.datasource.sql-script-encoding=UTF-8
-spring.datasource.continue-on-error=false
-spring.datasource.initialize=false
 # 蕉昢督昢華硊
 examcloud.exam.admin.url=http://192.168.10.30:8001
 # 厙蕉督昢華硊

+ 2 - 4
src/main/resources/application-prod.properties

@@ -1,6 +1,6 @@
 # mvc config
 server.port=8090
-server.context-path=/
+server.servlet.context-path=/
 server.tomcat.uri-encoding=UTF-8
 spring.freemarker.request-context-attribute=request
 spring.freemarker.settings.number_format=#
@@ -8,6 +8,7 @@ spring.freemarker.suffix=.ftl
 # logs config
 logging.file=logs/logging.txt
 logging.level.org.springframework=WARN
+logging.level.org.hibernate=WARN
 logging.level.org.apache=WARN
 logging.level.com.qmth=DEBUG
 logging.level.cn.com.qmth=DEBUG
@@ -18,9 +19,6 @@ spring.datasource.password=root
 spring.datasource.driverClassName=com.mysql.jdbc.Driver
 spring.jpa.show-sql=false
 spring.jpa.hibernate.ddl-auto=update
-spring.datasource.sql-script-encoding=UTF-8
-spring.datasource.continue-on-error=false
-spring.datasource.initialize=false
 # 蕉昢督昢華硊
 examcloud.exam.admin.url=http://192.168.10.30:8001
 # 厙蕉督昢華硊

+ 2 - 4
src/main/resources/application-test.properties

@@ -1,6 +1,6 @@
 # mvc config
 server.port=8090
-server.context-path=/
+server.servlet.context-path=/
 server.tomcat.uri-encoding=UTF-8
 spring.freemarker.request-context-attribute=request
 spring.freemarker.settings.number_format=#
@@ -8,6 +8,7 @@ spring.freemarker.suffix=.ftl
 # logs config
 logging.file=logs/logging.txt
 logging.level.org.springframework=WARN
+logging.level.org.hibernate=WARN
 logging.level.org.apache=WARN
 logging.level.com.qmth=DEBUG
 logging.level.cn.com.qmth=DEBUG
@@ -18,9 +19,6 @@ spring.datasource.password=root
 spring.datasource.driverClassName=com.mysql.jdbc.Driver
 spring.jpa.show-sql=false
 spring.jpa.hibernate.ddl-auto=update
-spring.datasource.sql-script-encoding=UTF-8
-spring.datasource.continue-on-error=false
-spring.datasource.initialize=false
 # 蕉昢督昢華硊
 examcloud.exam.admin.url=http://192.168.10.30:8001
 # 厙蕉督昢華硊