From c935d857ebd5fef4e347c5784a3ca4642eedaa66 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Fri, 1 Jul 2016 16:31:10 -0500 Subject: [PATCH] Add mvc namespace to XmlApplicationContext --- .../security/config/util/InMemoryXmlApplicationContext.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/src/test/java/org/springframework/security/config/util/InMemoryXmlApplicationContext.java b/config/src/test/java/org/springframework/security/config/util/InMemoryXmlApplicationContext.java index f10dcbcd6d..1b530eb4b9 100644 --- a/config/src/test/java/org/springframework/security/config/util/InMemoryXmlApplicationContext.java +++ b/config/src/test/java/org/springframework/security/config/util/InMemoryXmlApplicationContext.java @@ -29,10 +29,12 @@ public class InMemoryXmlApplicationContext extends AbstractXmlApplicationContext + " xmlns:context='http://www.springframework.org/schema/context'\n" + " xmlns:b='http://www.springframework.org/schema/beans'\n" + " xmlns:aop='http://www.springframework.org/schema/aop'\n" + + " xmlns:mvc='http://www.springframework.org/schema/mvc'\n" + " xmlns:websocket='http://www.springframework.org/schema/websocket'\n" + " xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'\n" + " xsi:schemaLocation='http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\n" + "http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd\n" + + "http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd\n" + "http://www.springframework.org/schema/websocket http://www.springframework.org/schema/websocket/spring-websocket.xsd\n" + "http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd\n" + "http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-";