We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.OutOfMemoryError: Java heap space
正常返回404,或者交由全局异常处理器处理
//拦截admin相关路由 registry.addInterceptor(new SaInterceptor(handle -> StpUtil.checkLogin())) .addPathPatterns("/api/admin/**") .excludePathPatterns("/api/admin/login/**");
// //拦截user相关路由 registry.addInterceptor(new SaInterceptor(handle -> StpUserUtil.checkLogin())) .addPathPatterns("/api/user/") .excludePathPatterns("/api/user/login/");
注册拦截器后,访问如 /api/user/sda 等不存在的路由时直接OOM
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >
The text was updated successfully, but these errors were encountered:
???并没有复现类似情况,你的全局异常处理是怎么写的 可以参考:https://github.com/uncarbon97/helio-starters/blob/2.x/helio-starter-web/src/main/java/cc/uncarbon/framework/web/config/GlobalWebExceptionHandlerAutoConfiguration.java
Sorry, something went wrong.
No branches or pull requests
使用版本:
cn.dev33 sa-token-spring-boot3-starter 1.40.0 cn.dev33 sa-token-redisson-jackson2 1.40.0报错信息:
java.lang.OutOfMemoryError: Java heap space
希望结果:
正常返回404,或者交由全局异常处理器处理
复现步骤:
//
//拦截user相关路由
registry.addInterceptor(new SaInterceptor(handle -> StpUserUtil.checkLogin()))
.addPathPatterns("/api/user/")
.excludePathPatterns("/api/user/login/");
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >
The text was updated successfully, but these errors were encountered: