This page on the docs is using the wrong version for Spring Security. Instead of spring-security-test-5.6.2-SNAPSHOT.jar, it should be spring-security-test-5.6.1.jar
Comment From: marcusdacoregio
Fixed via https://github.com/spring-io/spring-generated-docs/commit/bc75eebd0758e367c0cf9e9c8bc977f0de37111d and running the reference workflow again https://github.com/spring-projects/spring-security/actions/runs/1790092930