xuxueli / xxl-job

A distributed task scheduling framework.(分布式任务调度平台XXL-JOB)
http://www.xuxueli.com/xxl-job/
GNU General Public License v3.0
27.46k stars 10.86k forks source link

PageNotFound - No mapping found for HTTP request with URI [/xxl-job-admin/api/callback] in DispatcherServlet with name 'dispatcherServlet' #3195

Open YaoYaOooo opened 1 year ago

YaoYaOooo commented 1 year ago

Please answer some questions before submitting your issue. Thanks!

Which version of XXL-JOB do you using?

xxl-job-admin-2.0.2.jar

Expected behavior

Actual behavior

每秒大量WARN日志,看之前的issues说回调地址配置有误,具体是哪个配置的问题,是server侧还是client侧,谢谢 image

Steps to reproduce the behavior

Other information

zhi-cike commented 8 months ago

我也遇到类似的问题,找到了解决方案

server有个统一路径前缀配置项,如果是如下配置,则客户端配置就是https://xxl-job-admin-server-host/xxl-job-admin server.servlet.context-path=/xxl-job-admin 也就是两端需要保持一致,否则服务端就会出现如图所示的错误