diff --git a/spring-security-login-and-registration/.classpath b/spring-security-login-and-registration/.classpath
index b645d7579b..91f27076be 100644
--- a/spring-security-login-and-registration/.classpath
+++ b/spring-security-login-and-registration/.classpath
@@ -23,7 +23,7 @@
-
+
diff --git a/spring-security-login-and-registration/pom.xml b/spring-security-login-and-registration/pom.xml
index 5576677eb9..c645be50d9 100644
--- a/spring-security-login-and-registration/pom.xml
+++ b/spring-security-login-and-registration/pom.xml
@@ -30,7 +30,7 @@
spring-security-config
runtime
-
+
@@ -128,6 +128,7 @@
+
spring-security-login-and-registration
@@ -136,7 +137,26 @@
true
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+ ${java-version}
+
+
+
+
+ org.apache.maven.plugins
+ maven-war-plugin
+
+
+
+
1.7
3.1.4.RELEASE
diff --git a/spring-security-login-and-registration/src/main/webapp/WEB-INF/web.xml b/spring-security-login-and-registration/src/main/webapp/WEB-INF/web.xml
index 26ac5be1e0..9f6dc00aa3 100644
--- a/spring-security-login-and-registration/src/main/webapp/WEB-INF/web.xml
+++ b/spring-security-login-and-registration/src/main/webapp/WEB-INF/web.xml
@@ -1,9 +1,11 @@
-
+ xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ xsi:schemaLocation="
+ http://java.sun.com/xml/ns/javaee
+ http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ id="WebApp_ID" version="3.0">
+
contextClass
@@ -14,11 +16,11 @@
contextConfigLocation
org.baeldung.spring
-
+
org.springframework.web.context.ContextLoaderListener
-
+
mvc
org.springframework.web.servlet.DispatcherServlet
@@ -28,7 +30,7 @@
mvc
/
-
+
springSecurityFilterChain
org.springframework.web.filter.DelegatingFilterProxy
@@ -45,5 +47,5 @@
localizationFilter
/*
-
+
\ No newline at end of file