项目错误笔记
No primary or default constructor found for interface javax.servlet.http.ServletContext
controller层 ServletContext 参数和初始化项目时引用的 ServletContext 冲突
建议在controller层使用session或者request等参数获取 ServletContext
Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration
相关博客:https://blog.csdn.net/wwwwwww31311/article/details/115461920
400
相关博客:https://blog.csdn.net/wwwwwww31311/article/details/115461920
Unexpected character ('o' (code 111)): was expecting double-quote to start field name.
相关博客:https://blog.csdn.net/big_bigwolf/article/details/97240947/
总的来说就是前端需要使用 JSON.stringify 序列化对象,不要手动拼接json
Not allowed to load local resource
相关博客:https://blog.csdn.net/mayday_sanshui/article/details/123947592
前端访问文件需要使用虚拟路径
后端保存文件需要使用真实路径
java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
相关博客:https://blog.csdn.net/fanfuqiang/article/details/116993993