JDK 11 Version

JDK 11 Version
This commit is contained in:
Moshow郑锴
2024-04-20 17:15:58 +08:00
parent 8794d1e51d
commit 60d227a416
6 changed files with 21 additions and 13 deletions

View File

@@ -4,8 +4,8 @@ import com.softdev.system.generator.entity.ReturnT;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;
import jakarta.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequest;
// import jakarta.servlet.http.HttpServletRequest;
/**
* @author zhengkai.blog.csdn.net

View File

@@ -2,7 +2,9 @@ package com.softdev.system.generator.config;
import com.alibaba.fastjson.support.config.FastJsonConfig;
import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
import jakarta.servlet.DispatcherType;
// import jakarta.servlet.DispatcherType;
import javax.servlet.DispatcherType;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

View File

@@ -1,7 +1,9 @@
package com.softdev.system.generator.config;
import jakarta.servlet.*;
import jakarta.servlet.http.HttpServletRequest;
// import jakarta.servlet.*;
// import jakarta.servlet.http.HttpServletRequest;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

View File

@@ -1,9 +1,13 @@
package com.softdev.system.generator.config;
import jakarta.servlet.ReadListener;
import jakarta.servlet.ServletInputStream;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletRequestWrapper;
// import jakarta.servlet.ReadListener;
// import jakarta.servlet.ServletInputStream;
// import jakarta.servlet.http.HttpServletRequest;
// import jakarta.servlet.http.HttpServletRequestWrapper;
import javax.servlet.ReadListener;
import javax.servlet.ServletInputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.http.HttpHeaders;

View File

@@ -1,3 +1,3 @@
spring:
profiles:
active: bejson
active: dev

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.8</version>
<version>2.6.3</version>
</parent>
<modules>
@@ -53,12 +53,12 @@
</dependency>
<!-- https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api -->
<dependency>
<!-- <dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>
</dependency> -->
<!-- 支持 @ConfigurationProperties 注解 -->
<dependency>
<groupId>org.springframework.boot</groupId>