读取jar包或者war包中的文件时,只能使用流,不能使用new File
Resource resource = new ClassPathResource("topo_img" + File.separator + "a.png");