解决办法:全局搜索javac,找到引用的地方 import com.sun.tools.javac.util.List; 把它删除,重新引用 import java.util.List; 原因:jar包引用错误