![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误和异常处理
清石小猿
人生不设限
展开
-
org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException: The field file exceeds i
org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 1048576 bytes原创 2022-08-04 23:29:14 · 5093 阅读 · 0 评论 -
java.lang.IllegalArgumentException: Target must not be null
java.lang.IllegalArgumentException: Target must not be null原创 2022-07-01 11:51:55 · 5075 阅读 · 0 评论 -
java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver项目连接不上mysql
java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver项目连接不上mysql原创 2022-06-16 15:37:22 · 429 阅读 · 0 评论 -
集成seata启动异常: Error creating bean with name ‘seataBeanPostProcessor‘
看下异常:java.lang.IllegalArgumentException: Could not find class [org.springframework.cloud.netflix.feign.FeignAutoConfiguration] at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:334) at org.springframework.core.annotation.TypeMapp原创 2022-05-27 11:37:24 · 1317 阅读 · 0 评论 -
java.lang.UnsatisfiedLinkError: /usr/local/openjdk-11/lib/libfontmanager.so
1:先看一下异常是不是符合你的异常com.alibaba.excel.exception.ExcelGenerateException: java.lang.UnsatisfiedLinkError: /usr/local/openjdk-11/lib/libfontmanager.so: libfreetype.so.6: cannot open shared object file: No such file or directory at com.alibaba.excel.write.Exc原创 2022-05-11 10:37:44 · 5295 阅读 · 2 评论 -
Handler dispatch failed;nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/Datatyp
这个是jdk版本不一致引发的,有些包,在jdk9之后就剥离出来了,需要手动引入这个异常需要引入下面依赖:jdk8是本身集成有的,因为我的jdk是11,所以需要引入这些包<dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.3原创 2022-05-09 16:38:58 · 1400 阅读 · 0 评论 -
org.springframework.beans.factory.UnsatisfiedDependencyException
org.springframework.beans.factory.UnsatisfiedDependencyException:org.springframework.beans.factory.UnsatisfiedDependencyException:org.springframework.beans.factory.UnsatisfiedDependencyException:org.springframework.beans.factory.UnsatisfiedDepend.原创 2022-05-09 09:52:49 · 30289 阅读 · 0 评论 -
sun.awt.FontConfiguration.getVersion异常
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.InternalError: java.lang.reflect.InvocationTargetException at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServle.原创 2022-05-06 09:32:10 · 1655 阅读 · 0 评论 -
org.springframework.http.converter.HttpMessageNotReadableException异常解决
几种情况:1:实体类传参没有序列化2:传参格式或字段类型对不上,自己检查一下原创 2022-04-07 15:15:33 · 1387 阅读 · 0 评论