I'm not sure what the problem here is, but if you are just interested in running Spring Security samples, there are lots in the project source tree itself.
$ git clone git@github.com:spring-projects/spring-security.git
$ cd spring-security/samples/tutorial-xml
$ ../../gradlew jettyRun
will give you a running server. You can also use a local gradle installation instead of the wrapper included in the project. The initial build will take a while, but there are lots of sample projects in there which you can run afterwards, showing both XML namespace and Java configuration options.