BUG集合
shangbinz
这个作者很懒,什么都没留下…
展开
-
spring boot 文件上传异常
org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'multipart/form-data;boundary=----WebKitFormBoundaryRAYPKeHKTYSNdzc1;charset=UTF-8' not supported 文件上传出现的异常. 原始代码 测试报...原创 2019-01-04 17:46:21 · 445 阅读 · 0 评论 -
spring 映射异常
异常信息:nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'itemController' bean method 原因:两个controller的@RequestMapping注解打的一样。 解决方法:把冲突的名字改掉 ...原创 2019-01-04 17:52:54 · 310 阅读 · 1 评论