标题 PostMan 报错 415 传输类型有误
前言:
基于SpringBoot框架
问题描述:
"status": 415,
"error": "Unsupported Media Type",
"message": "Content type 'text/plain;charset=UTF-8' not supported",
原因分析:
1、传输类型不是"Content type ‘text/plain;charset=UTF-8’
2、工程jar包导入是否有问题
解决方案:
找了半天请教公司大佬才找到:
上代码扒:
SpringBoot 和 Swing 某些功能不兼容 放一块儿会发生冲突(问题搞得有点大哈)