你这样说倒不如截个代码图出来看看,好判断一点看到你的代码图了,写错代码了,要这样子写public static void main(String[] args) throws java.io.IOException{};