InfoController类有异常未捕获,请捕获或者抛出。抛出的话,在main函数里就可以抛出。如下:public static void main(String[] args) throws Exception
就点下面的第一个就好了。因为 new InfoController 可能会有异常。