模拟容器的时候,想获取文件路径,结果最后运行的时候却报错了,然后我输出了一下文件路径(inputStream),结果为null,这是为什么
用类加载器MyClassPathXmlApplicationContext.class.getClassLoader().getResourceAsStream("")