Put in order pom.xml. Simple settings of spring security. CreditCardInfo was added. Some changes in web.xml