解决报错: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field ‘com.sun.tools.javac.tre -> https://blog.csdn.net/Lyon_yong/article/details/136975218

This commit is contained in:
白茶清欢 2025-06-03 14:19:17 +08:00
parent d2f53bd163
commit 3d6f322da5
4 changed files with 6 additions and 5 deletions

6
.gitignore vendored
View File

@ -25,6 +25,6 @@ logs
.env
__debug*
target
gateway.iml
gateway.ipr
gateway.iws
exception.iml
exception.ipr
exception.iws

View File

@ -22,7 +22,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.24</version>
<version>1.18.30</version>
</dependency>
<dependency>
<groupId>junit</groupId>

View File

@ -75,6 +75,7 @@ public class HashMapCache {
return classList;
}
File[] fileList = directory.listFiles();
assert fileList != null;
for (File file : fileList) {
String fileName = file.getName();
if (!fileName.endsWith(".class")) {

View File

@ -5,5 +5,5 @@ import java.util.Map;
// 为了支持注解扫描, 自定义exception必须实现此注解
public interface ICustomExceptionAnnotation {
// 获取错误码列表: code => message
public Map<String, String> getCodeTable();
Map<String, String> getCodeTable();
}