1.按类路径 参考类:org.springframework.core.io.ClassPathResource 2.按系统路径 参考类:org.springframework.core.io.FileSystemResource