找不到符号异常 在控制台项目中配置Lombok 编译会报错 找不到符号 解决 方法: 父类字段ToString不了 @Data @NoArgsConstructor @AllArgsConstructor public class School { public int id; public String name; public String age; } @Data class ShangHai extends School { private String type; } 测试: publ…
package test; public class staticAccess { public int age; public staticAccess grow() { age++; return this; } public static void info() { System.out.println("Simple info way"); } public static void main(String[] args) { staticAccess rt=new static…