JavaWeb项目报错Failed to load resource: the server responded with a status of 404 ()

本次出现这种问题经调试前后台都是通的,后来发现后台返回值时的注解有问题,根据前台报错找到后台访问接口,如下

后台缺少一个注解@ResponseBody

猜你喜欢

转载自blog.csdn.net/weixin_41996632/article/details/86595009