想要配置文件生效 需要通过添加到web.xml加载到内存中 转载于:https://www.cnblogs.com/classmethond/p/10581713.html