可能是web.xml里面 <init-param> <param-name>contextConfigLocation</param-name> <param-value></param-value> </init-param> 位置出现问题