异常
就1搬砖的
有志者事竟成;
志不立,天下无可成之事;
展开
-
问题描述:HttpClient发送post请求响应415
问题描述:HttpClient发送post请求响应415提示:原因是没有设置json格式在请求头@Override public void run() { String path = "HTTP://xxx/testController/page"; CloseableHttpClient httpClient = HttpClients.createDefault(); ResponseHandler<String> responseH原创 2020-11-26 15:03:20 · 1313 阅读 · 1 评论 -
Mybatis Plus Cannot Read Database type or The Database‘s Not Supported
异常是:Mybatis Plus Cannot Read Database type or The Database's Not Supported! 和 The Database's IDialect Not Supported!絮叨两句:首先这是mybatis-plus分页配置问题,mybatis-plus代码里只认以下数据库:同时我们可以看到他是根据数据库连接地址来判断具体自己用的是什么数据库,同时来给你分配好对应的分页语句来实现自动分页。如果没有对应的数据连接地址就会报以上异常,同时原创 2020-08-06 22:18:33 · 10060 阅读 · 2 评论 -
Caused by: io.undertow.server.RequestTooBigException:
Caused by: io.undertow.server.RequestTooBigException: UT000020: Connection terminated as request was larger than 209715200springboot1.xyml或者pro中配置中加入spring.http.multipart.max-request-size=20MB spring.http.multipart.max-file-size=20MBspringboot2.x原创 2020-07-30 11:02:10 · 3988 阅读 · 0 评论 -
Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException解决
关于报Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException异常解决方法<table><tr><td bgcolor="#00322"></td></tr></table>这个问题在本地是没有的,部署到测试环境就出现了这个...原创 2020-04-22 13:39:56 · 1030 阅读 · 0 评论