Spring Security : check whether you have multiple ContextLoader* definitions in your web.xml!
Table of ContentsProblem:Trace:Solution: Problem: public class SecurityWebApplicationInitializer extends AbstractSecurityWebApplicationInitializer { public SecurityWebApplicationInitializer(){ super(SpringSecurityWebConfig.class); } } Trace: java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present -…
