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

kh212irz  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(59)

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侧,谢谢

Steps to reproduce the behavior

Other information

ejk8hzay

ejk8hzay1#

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

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

相关问题