问题描述
我正在尝试使用 codeql(https://securitylab.github.com/tools/codeql) 编写代码分析器,但我解释了一个显示为以下错误的错误
[2021-01-20 15:56:59] [javac-extractor-4576] [WARN] Skipping Lombok-ed source file:
所以我的 lombok-ed 源文件不包含在 codeql 数据库中
eg.my lombok-ed 源文件显示如下
public class Test1{
public static String testOkHttpGet() {
OkHttpClient okHttpClient = new OkHttpClient();
HttpUrl httpUrl = HttpUrl.parse("http://localhost:8080/demo/list").newBuilder()
.addQueryParameter("name","HTTP").build();
okhttp3.Request request = new okhttp3.Request.Builder().url(httpUrl.toString()).build();
try (Response response = okHttpClient.newCall(request).execute()) {
ResponseBody body = response.body();
if (response.isSuccessful()) {
} else {
}
} catch (IOException e) {
e.printStackTrace();
}
return null;
}
@Data
@AllArgsConstructor
class Student{
String name;
String age;
}
}
并且该文件未包含在 src.zip 中 enter image description here
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)