4.5.0 升级到 spring boot 2.6.8
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<h3 align="center" style="margin:30px 0 30px;font-weight:bold;font-size:30px;">快速开发平台 - Spring Boot</h3>
|
<h3 align="center" style="margin:30px 0 30px;font-weight:bold;font-size:30px;">快速开发平台 - Spring Boot</h3>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://jeesite.com/docs/upgrade/" target="__blank"><img alt="JeeSite-V4.4" src="https://img.shields.io/badge/JeeSite-V4.4-success.svg"></a>
|
<a href="https://jeesite.com/docs/upgrade/" target="__blank"><img alt="JeeSite-V4.4" src="https://img.shields.io/badge/JeeSite-V4.4-success.svg"></a>
|
||||||
<a href="https://spring.io/projects/spring-boot#learn" target="__blank"><img alt="SpringBoot-2.5" src="https://img.shields.io/badge/SpringBoot-2.5-blue.svg"></a>
|
<a href="https://spring.io/projects/spring-boot#learn" target="__blank"><img alt="SpringBoot-2.6" src="https://img.shields.io/badge/SpringBoot-2.6-blue.svg"></a>
|
||||||
<a href="https://gitee.com/thinkgem/jeesite4/stargazers" target="__blank"><img alt="star" src="https://gitee.com/thinkgem/jeesite4/badge/star.svg?theme=dark"></a>
|
<a href="https://gitee.com/thinkgem/jeesite4/stargazers" target="__blank"><img alt="star" src="https://gitee.com/thinkgem/jeesite4/badge/star.svg?theme=dark"></a>
|
||||||
<a href="https://gitee.com/thinkgem/jeesite4/members" target="__blank"><img alt="fork" src="https://gitee.com/thinkgem/jeesite4/badge/fork.svg?theme=dark"></a>
|
<a href="https://gitee.com/thinkgem/jeesite4/members" target="__blank"><img alt="fork" src="https://gitee.com/thinkgem/jeesite4/badge/fork.svg?theme=dark"></a>
|
||||||
</p>
|
</p>
|
||||||
@@ -51,7 +51,7 @@ JeeSite 是一个低代码开发平台,具有较高的封装度、扩展性,
|
|||||||
|
|
||||||
## 技术选型
|
## 技术选型
|
||||||
|
|
||||||
* 主框架:Spring Boot 2.5、Spring Framework 5.3、Apache Shiro 1.9、J2Cache
|
* 主框架:Spring Boot 2.6、Spring Framework 5.3、Apache Shiro 1.9、J2Cache
|
||||||
* 持久层:Apache MyBatis 3.5、Hibernate Validator 6.2、Alibaba Druid 1.2
|
* 持久层:Apache MyBatis 3.5、Hibernate Validator 6.2、Alibaba Druid 1.2
|
||||||
* 视图层:Spring MVC 5.3、Beetl 3.3(替换JSP)、Bootstrap 3.3、AdminLTE 2.4
|
* 视图层:Spring MVC 5.3、Beetl 3.3(替换JSP)、Bootstrap 3.3、AdminLTE 2.4
|
||||||
* 前端组件:jQuery 3.5、jqGrid 4.7、layer 3.5、zTree 3.5、jQuery Validation
|
* 前端组件:jQuery 3.5、jqGrid 4.7、layer 3.5、zTree 3.5、jQuery Validation
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>4.4.2-SNAPSHOT</version>
|
<version>4.5.0-SNAPSHOT</version>
|
||||||
<relativePath>../parent/pom.xml</relativePath>
|
<relativePath>../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import com.fasterxml.jackson.databind.introspect.Annotated;
|
|||||||
import com.fasterxml.jackson.databind.introspect.AnnotatedMethod;
|
import com.fasterxml.jackson.databind.introspect.AnnotatedMethod;
|
||||||
import com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector;
|
import com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector;
|
||||||
import com.fasterxml.jackson.databind.util.JSONPObject;
|
import com.fasterxml.jackson.databind.util.JSONPObject;
|
||||||
import com.fasterxml.jackson.module.jaxb.JaxbAnnotationModule;
|
//import com.fasterxml.jackson.module.jaxb.JaxbAnnotationModule;
|
||||||
import com.jeesite.common.collect.ListUtils;
|
import com.jeesite.common.collect.ListUtils;
|
||||||
import com.jeesite.common.io.PropertiesUtils;
|
import com.jeesite.common.io.PropertiesUtils;
|
||||||
import com.jeesite.common.lang.DateUtils;
|
import com.jeesite.common.lang.DateUtils;
|
||||||
@@ -222,15 +222,15 @@ public class JsonMapper extends ObjectMapper {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* 支持使用Jaxb的Annotation,使得POJO上的annotation不用与Jackson耦合。
|
// * 支持使用Jaxb的Annotation,使得POJO上的annotation不用与Jackson耦合。
|
||||||
* 默认会先查找jaxb的annotation,如果找不到再找jackson的。
|
// * 默认会先查找jaxb的annotation,如果找不到再找jackson的。
|
||||||
*/
|
// */
|
||||||
public JsonMapper enableJaxbAnnotation() {
|
// public JsonMapper enableJaxbAnnotation() {
|
||||||
JaxbAnnotationModule module = new JaxbAnnotationModule();
|
// JaxbAnnotationModule module = new JaxbAnnotationModule();
|
||||||
this.registerModule(module);
|
// this.registerModule(module);
|
||||||
return this;
|
// return this;
|
||||||
}
|
// }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 取出Mapper做进一步的设置或使用其他序列化API.
|
* 取出Mapper做进一步的设置或使用其他序列化API.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>4.4.2-SNAPSHOT</version>
|
<version>4.5.0-SNAPSHOT</version>
|
||||||
<relativePath>../../parent/pom.xml</relativePath>
|
<relativePath>../../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>4.4.2-SNAPSHOT</version>
|
<version>4.5.0-SNAPSHOT</version>
|
||||||
<relativePath>../../parent/pom.xml</relativePath>
|
<relativePath>../../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -69,10 +69,10 @@ spring:
|
|||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 127.0.0.1:8848
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
group: jeesite-cloud-43
|
group: jeesite-cloud-yml
|
||||||
ext-config:
|
ext-config:
|
||||||
- data-id: application.yml
|
- data-id: application.yml
|
||||||
group: jeesite-cloud-43
|
group: jeesite-cloud-yml
|
||||||
|
|
||||||
# 打印横幅
|
# 打印横幅
|
||||||
main:
|
main:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ productName: JeeSite Demo
|
|||||||
companyName: ThinkGem
|
companyName: ThinkGem
|
||||||
|
|
||||||
# 产品版本、版权年份
|
# 产品版本、版权年份
|
||||||
productVersion: V4.4
|
productVersion: V4.5
|
||||||
copyrightYear: 2022
|
copyrightYear: 2022
|
||||||
|
|
||||||
# 数据库连接
|
# 数据库连接
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>2.5.13</version>
|
<version>2.6.8</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>4.4.2-SNAPSHOT</version>
|
<version>4.5.0-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>JeeSite Parent</name>
|
<name>JeeSite Parent</name>
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<commons-text.version>1.9</commons-text.version>
|
<commons-text.version>1.9</commons-text.version>
|
||||||
<commons-beanutils.version>1.9.4</commons-beanutils.version>
|
<commons-beanutils.version>1.9.4</commons-beanutils.version>
|
||||||
<fst.version>2.57</fst.version>
|
<fst.version>2.57</fst.version>
|
||||||
<fastjson.version>1.2.80</fastjson.version>
|
<fastjson.version>1.2.83</fastjson.version>
|
||||||
<commons-email.version>1.5</commons-email.version>
|
<commons-email.version>1.5</commons-email.version>
|
||||||
<!-- <jackson.version>2.12.6</jackson.version> -->
|
<!-- <jackson.version>2.12.6</jackson.version> -->
|
||||||
<!-- <activation.version>1.1.1</activation.version> -->
|
<!-- <activation.version>1.1.1</activation.version> -->
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite</artifactId>
|
<artifactId>jeesite</artifactId>
|
||||||
<version>4.4.2-SNAPSHOT</version>
|
<version>4.5.0-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>JeeSite</name>
|
<name>JeeSite</name>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-root</artifactId>
|
<artifactId>jeesite-root</artifactId>
|
||||||
<version>4.4.2-SNAPSHOT</version>
|
<version>4.5.0-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>JeeSite Root</name>
|
<name>JeeSite Root</name>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>4.4.2-SNAPSHOT</version>
|
<version>4.5.0-SNAPSHOT</version>
|
||||||
<relativePath>../parent/pom.xml</relativePath>
|
<relativePath>../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ productName: JeeSite Demo
|
|||||||
companyName: ThinkGem
|
companyName: ThinkGem
|
||||||
|
|
||||||
# 产品版本、版权年份
|
# 产品版本、版权年份
|
||||||
productVersion: V4.4
|
productVersion: V4.5
|
||||||
copyrightYear: 2022
|
copyrightYear: 2022
|
||||||
|
|
||||||
# 是否演示模式
|
# 是否演示模式
|
||||||
@@ -24,6 +24,7 @@ server:
|
|||||||
servlet:
|
servlet:
|
||||||
context-path: /js
|
context-path: /js
|
||||||
register-default-servlet: false
|
register-default-servlet: false
|
||||||
|
encoding.enabled: true
|
||||||
tomcat:
|
tomcat:
|
||||||
uri-encoding: UTF-8
|
uri-encoding: UTF-8
|
||||||
# 表单请求数据的最大大小
|
# 表单请求数据的最大大小
|
||||||
@@ -251,6 +252,11 @@ spring:
|
|||||||
# 打印横幅
|
# 打印横幅
|
||||||
main:
|
main:
|
||||||
bannerMode: "off"
|
bannerMode: "off"
|
||||||
|
|
||||||
|
# MVC 映射匹配策略
|
||||||
|
mvc:
|
||||||
|
pathmatch:
|
||||||
|
matching-strategy: ANT_PATH_MATCHER
|
||||||
|
|
||||||
# # Redis 连接参数 (RedisProperties)
|
# # Redis 连接参数 (RedisProperties)
|
||||||
# redis:
|
# redis:
|
||||||
|
|||||||
Reference in New Issue
Block a user