SpringSecurity发送post请求403错误 我的SpringBoot版本:2.1.4 整合SpringSecurity后所有post请求都出现403错误,提示没有相关权限 如图: 解决方案:在WebSecurityConfigurerAdapter配置类configure方法中添加如下方法 http.csrf().disable();