该异常属于项目配置的根路径出错 解决问题的办法 在 application.yml 中将 server.servlet.context-path 设置的路径前加一个 / 123 server: servlet: context-path: /api 赞微海报分享
近期评论