How to Solve the jump error after Spring Security Login

Controller layer

Appears when the login is complete

First, comment out the security dependency and restart the project

Then access the interface of the controller layer and the access is successful

Then open the security dependency and restart the project

Visit the page again and you can jump

The reason for this may be that the cache is not loaded

Read More: