谷粒学院P268 接口swagger测试 Access is denied、getWriter() has already been called for this response 解决方法
解决方法
在spring_security模块下的TokenWebSecurityConfig这个类方法下的configur方法更改一下,接口测试需要改成这个web.ignoring().antMatchers("/*/**");
/**
* 配置哪些请求不拦截
* @param web
* @throws Exception
*/
@Override
public void configure(WebSecurity web) thro...
原创
2021-08-04 16:20:23 ·
584 阅读 ·
0 评论