摘要: 在做项目的过程中,需要将一些参数写入properties文件的配置中,如何读取到properties的文件内容呢,我用到了spring core提供的类org.springframework.core.io.ClassPathResource,通过这个类,可以读取到指定classpath下路径的文件 阅读全文
posted @ 2020-03-24 21:32 徐浩进 阅读(8316) 评论(0) 推荐(0) 编辑