mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-08-06 21:08:43 +00:00
升级springboot4 优化配置,删除无用的配置
This commit is contained in:
parent
0953b01e99
commit
cbca341f2c
@ -2,6 +2,7 @@ server:
|
|||||||
port: 8080
|
port: 8080
|
||||||
tomcat:
|
tomcat:
|
||||||
max-swallow-size: -1
|
max-swallow-size: -1
|
||||||
|
basedir: ..
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /jeecg-boot
|
context-path: /jeecg-boot
|
||||||
compression:
|
compression:
|
||||||
@ -19,11 +20,6 @@ spring:
|
|||||||
# main:
|
# main:
|
||||||
# # 启动加速 (建议开发环境,开启后flyway自动升级失效)
|
# # 启动加速 (建议开发环境,开启后flyway自动升级失效)
|
||||||
# lazy-initialization: true
|
# lazy-initialization: true
|
||||||
web:
|
|
||||||
error:
|
|
||||||
include-exception: true
|
|
||||||
include-stacktrace: ALWAYS
|
|
||||||
include-message: ALWAYS
|
|
||||||
flyway:
|
flyway:
|
||||||
# 是否启用flyway
|
# 是否启用flyway
|
||||||
enabled: false
|
enabled: false
|
||||||
@ -110,7 +106,6 @@ spring:
|
|||||||
static-locations: classpath:/static/,classpath:/public/
|
static-locations: classpath:/static/,classpath:/public/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
|
|
||||||
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
|
|||||||
@ -2,10 +2,7 @@ server:
|
|||||||
port: 8080
|
port: 8080
|
||||||
tomcat:
|
tomcat:
|
||||||
max-swallow-size: -1
|
max-swallow-size: -1
|
||||||
error:
|
basedir: ..
|
||||||
include-exception: true
|
|
||||||
include-stacktrace: ALWAYS
|
|
||||||
include-message: ALWAYS
|
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /jeecg-boot
|
context-path: /jeecg-boot
|
||||||
compression:
|
compression:
|
||||||
@ -105,7 +102,6 @@ spring:
|
|||||||
static-locations: classpath:/static/,classpath:/public/
|
static-locations: classpath:/static/,classpath:/public/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
|
|
||||||
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
|
|||||||
@ -2,10 +2,7 @@ server:
|
|||||||
port: 8080
|
port: 8080
|
||||||
tomcat:
|
tomcat:
|
||||||
max-swallow-size: -1
|
max-swallow-size: -1
|
||||||
error:
|
basedir: ..
|
||||||
include-exception: true
|
|
||||||
include-stacktrace: ALWAYS
|
|
||||||
include-message: ALWAYS
|
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /jeecg-boot
|
context-path: /jeecg-boot
|
||||||
compression:
|
compression:
|
||||||
@ -104,7 +101,6 @@ spring:
|
|||||||
static-locations: classpath:/static/,classpath:/public/
|
static-locations: classpath:/static/,classpath:/public/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
|
|
||||||
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
|
|||||||
@ -2,10 +2,7 @@ server:
|
|||||||
port: 8080
|
port: 8080
|
||||||
tomcat:
|
tomcat:
|
||||||
max-swallow-size: -1
|
max-swallow-size: -1
|
||||||
error:
|
basedir: ..
|
||||||
include-exception: true
|
|
||||||
include-stacktrace: ALWAYS
|
|
||||||
include-message: ALWAYS
|
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /jeecg-boot
|
context-path: /jeecg-boot
|
||||||
compression:
|
compression:
|
||||||
@ -108,7 +105,6 @@ spring:
|
|||||||
static-locations: classpath:/static/,classpath:/public/
|
static-locations: classpath:/static/,classpath:/public/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
|
|
||||||
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
|
|||||||
@ -2,10 +2,7 @@ server:
|
|||||||
port: 8080
|
port: 8080
|
||||||
tomcat:
|
tomcat:
|
||||||
max-swallow-size: -1
|
max-swallow-size: -1
|
||||||
error:
|
basedir: ..
|
||||||
include-exception: true
|
|
||||||
include-stacktrace: ALWAYS
|
|
||||||
include-message: ALWAYS
|
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /jeecg-boot
|
context-path: /jeecg-boot
|
||||||
compression:
|
compression:
|
||||||
@ -103,7 +100,6 @@ spring:
|
|||||||
static-locations: classpath:/static/,classpath:/public/
|
static-locations: classpath:/static/,classpath:/public/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
|
|
||||||
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
|
|||||||
@ -2,10 +2,7 @@ server:
|
|||||||
port: 8080
|
port: 8080
|
||||||
tomcat:
|
tomcat:
|
||||||
max-swallow-size: -1
|
max-swallow-size: -1
|
||||||
error:
|
basedir: ..
|
||||||
include-exception: true
|
|
||||||
include-stacktrace: ALWAYS
|
|
||||||
include-message: ALWAYS
|
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /jeecg-boot
|
context-path: /jeecg-boot
|
||||||
compression:
|
compression:
|
||||||
@ -109,7 +106,6 @@ spring:
|
|||||||
static-locations: classpath:/static/,classpath:/public/
|
static-locations: classpath:/static/,classpath:/public/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
|
|
||||||
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
|
|||||||
@ -2,10 +2,7 @@ server:
|
|||||||
port: 8080
|
port: 8080
|
||||||
tomcat:
|
tomcat:
|
||||||
max-swallow-size: -1
|
max-swallow-size: -1
|
||||||
error:
|
basedir: ..
|
||||||
include-exception: true
|
|
||||||
include-stacktrace: ALWAYS
|
|
||||||
include-message: ALWAYS
|
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /jeecg-boot
|
context-path: /jeecg-boot
|
||||||
compression:
|
compression:
|
||||||
@ -102,7 +99,6 @@ spring:
|
|||||||
static-locations: classpath:/static/,classpath:/public/
|
static-locations: classpath:/static/,classpath:/public/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
|
|
||||||
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
|
|||||||
@ -2,10 +2,7 @@ server:
|
|||||||
port: 8080
|
port: 8080
|
||||||
tomcat:
|
tomcat:
|
||||||
max-swallow-size: -1
|
max-swallow-size: -1
|
||||||
error:
|
basedir: ..
|
||||||
include-exception: true
|
|
||||||
include-stacktrace: ALWAYS
|
|
||||||
include-message: ALWAYS
|
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /jeecg-boot
|
context-path: /jeecg-boot
|
||||||
compression:
|
compression:
|
||||||
@ -103,7 +100,6 @@ spring:
|
|||||||
static-locations: classpath:/static/,classpath:/public/
|
static-locations: classpath:/static/,classpath:/public/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
|
|
||||||
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
|
|||||||
@ -2,10 +2,7 @@ server:
|
|||||||
port: 8080
|
port: 8080
|
||||||
tomcat:
|
tomcat:
|
||||||
max-swallow-size: -1
|
max-swallow-size: -1
|
||||||
error:
|
basedir: ..
|
||||||
include-exception: true
|
|
||||||
include-stacktrace: ALWAYS
|
|
||||||
include-message: ALWAYS
|
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /jeecg-boot
|
context-path: /jeecg-boot
|
||||||
compression:
|
compression:
|
||||||
@ -103,7 +100,6 @@ spring:
|
|||||||
static-locations: classpath:/static/,classpath:/public/
|
static-locations: classpath:/static/,classpath:/public/
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
- com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
|
|
||||||
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user