spring的applicationContext.xml的加载位置怎么设置啊?

图片说明
我的xml文件是放在src下的service包里的
可是默认的加载位置是在WEB-INF\classes里
每次在service包里改完后都要复制粘贴到WEB-INF\classes目录下覆盖掉原先的
我在spring工程里的web.xml加入了这一段:

contextConfigLocation
WEB-INF/classes/service/applicationContext.xml


org.springframework.web.context.ContextLoaderListener

也依然不行啊

到底要怎么改啊

contextConfigLocation

classpath:service/applicationContext.xml

org.springframework.web.context.ContextLoaderListener
这样试一下

contextConfigLocation
/WEB-INF/classes/service/applicationContext.xml

你看看是不是前面少了一级路径(/);