移除javax.annotation.Resource导入,改为使用jakarta.annotation.Resource

pull/8550/head
JEECG 2025-05-16 10:31:49 +08:00
parent 81c1724016
commit b9c74e549f
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,6 @@
package org.jeecg.modules.system.test;
import jakarta.annotation.Resource;
import org.jeecg.JeecgSystemApplication;
import org.jeecg.modules.demo.mock.MockController;
import org.jeecg.modules.demo.test.entity.JeecgDemo;
@ -9,7 +10,6 @@ import org.jeecg.modules.system.service.ISysDataLogService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.util.Assert;
import javax.annotation.Resource;
import java.util.List;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,classes = JeecgSystemApplication.class)