spring org.springframework.context.support.ReloadableResourceBundleMessageSource是用来配置属性文件的工具类
如下图配置可以取出属性值
但是下图自己手动写了一个却说属性文件找不到
java.io.FileNotFoundException: class path resource [WEB-INF/xiehou.properties] cannot be opened because it does not exist
如果是在src下是可以找到的
但是不知道为什么配置的可以手动的不可以请各位大牛帮忙看看!!