Configuration problem: Duplicate <http> element detected
检查下配置文件中是否有两个http元素,如果没有则检查下security配置文件是不是可能被容器加载多次。如果在web.xml中引入了security配置文件,同时在spring的配置文件通过import加载了这个security配置文件。也会爆出这个错误。
Configuration problem: Duplicate <http> element detected
检查下配置文件中是否有两个http元素,如果没有则检查下security配置文件是不是可能被容器加载多次。如果在web.xml中引入了security配置文件,同时在spring的配置文件通过import加载了这个security配置文件。也会爆出这个错误。
转载于:https://my.oschina.net/u/218567/blog/758147