diff --git a/autoload-cache-spring-boot-starter/pom.xml b/autoload-cache-spring-boot-starter/pom.xml
index 41e0eac..f43071f 100644
--- a/autoload-cache-spring-boot-starter/pom.xml
+++ b/autoload-cache-spring-boot-starter/pom.xml
@@ -14,13 +14,14 @@
autoload-cache spring boot starter.
false
+ 3.5.3
org.springframework.boot
- spring-boot-starter-parent
- 2.1.0.RELEASE
+ spring-boot-dependencies
+ ${spring-boot.version}
pom
import
@@ -135,7 +136,7 @@
org.mybatis.spring.boot
mybatis-spring-boot-starter
- 1.3.0
+ 3.0.5
test
true
@@ -178,6 +179,20 @@
compile
true
+
+ org.projectlombok
+ lombok
+
+
+ junit
+ junit
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
diff --git a/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/admin/HTTPBasicAuthorizeAttribute.java b/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/admin/HTTPBasicAuthorizeAttribute.java
index 3d26ffd..ca76f83 100644
--- a/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/admin/HTTPBasicAuthorizeAttribute.java
+++ b/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/admin/HTTPBasicAuthorizeAttribute.java
@@ -3,14 +3,14 @@
import java.io.IOException;
import java.util.Base64;
-import javax.servlet.Filter;
-import javax.servlet.FilterChain;
-import javax.servlet.FilterConfig;
-import javax.servlet.ServletException;
-import javax.servlet.ServletRequest;
-import javax.servlet.ServletResponse;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
+import jakarta.servlet.Filter;
+import jakarta.servlet.FilterChain;
+import jakarta.servlet.FilterConfig;
+import jakarta.servlet.ServletException;
+import jakarta.servlet.ServletRequest;
+import jakarta.servlet.ServletResponse;
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletResponse;
import org.springframework.http.HttpStatus;
diff --git a/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/autoconfigure/AutoloadCacheAutoConfigure.java b/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/autoconfigure/AutoloadCacheAutoConfigure.java
index 23fbeaf..709ee6b 100644
--- a/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/autoconfigure/AutoloadCacheAutoConfigure.java
+++ b/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/autoconfigure/AutoloadCacheAutoConfigure.java
@@ -3,7 +3,7 @@
import java.util.ArrayList;
import java.util.List;
-import javax.annotation.PostConstruct;
+import jakarta.annotation.PostConstruct;
import org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator;
import org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator;
diff --git a/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/autoconfigure/AutoloadCacheProperties.java b/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/autoconfigure/AutoloadCacheProperties.java
index 0436c2b..99b7ace 100644
--- a/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/autoconfigure/AutoloadCacheProperties.java
+++ b/autoload-cache-spring-boot-starter/src/main/java/com/jarvis/cache/autoconfigure/AutoloadCacheProperties.java
@@ -1,6 +1,6 @@
package com.jarvis.cache.autoconfigure;
-import javax.annotation.PostConstruct;
+import jakarta.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
diff --git a/autoload-cache-spring-boot-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/autoload-cache-spring-boot-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
new file mode 100644
index 0000000..f59821b
--- /dev/null
+++ b/autoload-cache-spring-boot-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
@@ -0,0 +1,3 @@
+com.jarvis.cache.autoconfigure.AutoloadCacheManageConfiguration
+com.jarvis.cache.autoconfigure.DistributedLockConfiguration
+com.jarvis.cache.autoconfigure.AutoloadCacheAutoConfigure
\ No newline at end of file
diff --git a/autoload-cache-spring-boot-starter/src/test/java/com/jarvis/cache/demo/CacheDemoApplication.java b/autoload-cache-spring-boot-starter/src/test/java/com/jarvis/cache/demo/CacheDemoApplication.java
index ef77fd1..cada592 100644
--- a/autoload-cache-spring-boot-starter/src/test/java/com/jarvis/cache/demo/CacheDemoApplication.java
+++ b/autoload-cache-spring-boot-starter/src/test/java/com/jarvis/cache/demo/CacheDemoApplication.java
@@ -35,7 +35,7 @@ public void onApplicationEvent(ApplicationReadyEvent event) {
userMapper.allUsers();
UserCondition condition = new UserCondition();
- PageRequest page =new PageRequest(1, 10);
+ PageRequest page = PageRequest.of(1, 10);
condition.setPageable(page);
condition.setStatus(1);
userMapper.listByCondition(condition);
diff --git a/autoload-cache-spring-boot-starter/src/test/java/com/jarvis/cache/demo/test/UserServiceTest.java b/autoload-cache-spring-boot-starter/src/test/java/com/jarvis/cache/demo/test/UserServiceTest.java
index 8fa5141..cb0d673 100644
--- a/autoload-cache-spring-boot-starter/src/test/java/com/jarvis/cache/demo/test/UserServiceTest.java
+++ b/autoload-cache-spring-boot-starter/src/test/java/com/jarvis/cache/demo/test/UserServiceTest.java
@@ -49,7 +49,7 @@ public void test1Add() throws Exception {
userService.doLogin("tmp2", "aaaa3");
UserCondition condition = new UserCondition();
- Pageable pageable = new PageRequest(0, 10);
+ Pageable pageable = PageRequest.of(0, 10);
condition.setPageable(pageable);
List list = userService.listByCondition(condition);
@@ -84,7 +84,7 @@ public void testMagic() throws Exception {
userService.getUserById(1L);
UserCondition condition = new UserCondition();
- Pageable pageable = new PageRequest(0, 5);
+ Pageable pageable = PageRequest.of(0, 5);
condition.setPageable(pageable);
List list = userService.listByCondition(condition);
diff --git a/autoload-cache-spring-boot-starter/src/test/resources/init_table.sql b/autoload-cache-spring-boot-starter/src/test/resources/init_table.sql
index 0fc0da7..a917f69 100644
--- a/autoload-cache-spring-boot-starter/src/test/resources/init_table.sql
+++ b/autoload-cache-spring-boot-starter/src/test/resources/init_table.sql
@@ -1 +1,4 @@
-create table if not exists user(id int not null primary key auto_increment, name varchar(100), password varchar(10), status int);
\ No newline at end of file
+create table if not exists `user`(id int not null primary key auto_increment,
+ name varchar(100),
+ password varchar(10),
+ status int);
\ No newline at end of file
diff --git a/autoload-cache-spring-boot-starter/src/test/resources/mybatis/UserMapper.xml b/autoload-cache-spring-boot-starter/src/test/resources/mybatis/UserMapper.xml
index 6f379b5..b0b7d86 100644
--- a/autoload-cache-spring-boot-starter/src/test/resources/mybatis/UserMapper.xml
+++ b/autoload-cache-spring-boot-starter/src/test/resources/mybatis/UserMapper.xml
@@ -16,20 +16,20 @@