开发过程中的一下错误
开发过程中的一下异常
1. java.lang.IllegalArgumentException: Duplicate context initialization parameter contextConfigLocation
这个异常产生的原因是因为我在web.xml文件中配置了两个相同的监听:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>