當前位置:
首頁 >
前端技术
> javascript
>内容正文
javascript
SpringBoot出现Request method ‘GET‘ not supported
生活随笔
收集整理的這篇文章主要介紹了
SpringBoot出现Request method ‘GET‘ not supported
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
解決方案:
@RequestMapping("/registerForm")
改成:
@RequestMapping(value="registerForm",method=RequestMethod.GET)
?
注意上述方法不要應用到
@PostMapping(value="/upload")中去。
總結
以上是生活随笔為你收集整理的SpringBoot出现Request method ‘GET‘ not supported的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Remarkable启动遇到Spellc
- 下一篇: intellij选择困难症Spring