
异常
litGrey
码字靠灵感,享受午睡和阅读
展开
-
Result Maps collection already contains value
Tomcat启动报错Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: Result Maps collection already contains value forcom.**.dao.product.BrandCustomMapper.BaseResultMapCaused原创 2018-03-21 22:35:02 · 856 阅读 · 0 评论 -
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure,java.net.SocketException:Network is unreachable: connect解决办法;出现这个异常的问题是,书写的jdbc连接数据库的url地址不对,检查这个url地原创 2018-04-09 22:09:32 · 658 阅读 · 0 评论 -
java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
“Cannotcall sendError() after the response has been committed”,无法在响应提交后调用sendError()。。出现这个错误,应该是多次response导致的,可以这么理解,http server发送response后就关闭了socket,这个时候再次发送response给http client就会出现这个问题。...原创 2019-06-11 16:11:32 · 3814 阅读 · 0 评论 -
解决Request entity too large问题
1.分为两种情况1.:带413413 Request Entity Too Large2.:不带413Request Entity Too Large2.解释两种情况略有不同。1.是请求文件太大(不包含参数)2.是请求实体太大(包含参数,文件等)客户端发送的实体主体部分比服务器能够或者希望处理的要大。出现这个状态码的一般都是上传接口。3.一般...原创 2019-06-26 11:46:29 · 110954 阅读 · 1 评论 -
Caused by: java.lang.IllegalArgumentException: Location must not be null
异常描述:java.lang.ExceptionInInitializerError at com.liyo.modules.sys.service.SystemService.printKeyLoadMessage(SystemService.java:570) at com.liyo.modules.sys.listener.WebContextListener.initWebApp...原创 2019-06-27 14:54:32 · 15012 阅读 · 0 评论