关于idea写springboot在postman中调用请求4041 10.19

 一定要让cotroller包在com.example.demo下不然就会404

还有一个点是Error: getaddrinfo ENOTFOUND local   原因:1.localhost没有绑定127.0.0.1    2.http请求的地址写错了,仔细核对一下看是不是输错了,我是大意输入错了,localhost输入成local了

posted @ 2023-10-19 22:49  艾鑫4646  阅读(136)  评论(0编辑  收藏  举报