开发过程中的一下异常

1.  java.lang.IllegalArgumentException: Duplicate context initialization parameter contextConfigLocation

     这个异常产生的原因是因为我在web.xml文件中配置了两个相同的监听:

    <listener>
         <listener-class>org.springframework.web.context.ContextLoaderListener
         </listener-class>
    </listener>

猜你喜欢

转载自wwwkkk5102.iteye.com/blog/2213560