![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常
胶泥座人
程序员永远不能说不!!!
展开
-
Missing URI template variable ‘bizType‘ for method parameter of type int]
2020-10-16 10:45:55.060 WARN 19064 --- [nio-8088-exec-8] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.bind.MissingPathVariableException: Missing URI template variable 'bizType' for method parameter of type int]原创 2020-11-17 21:29:05 · 273 阅读 · 0 评论 -
对Arraylist遍历进行remove操作时报数组下标越界异常
原因是每次remove后的size都会发生变化,但是迭代基数没有根据remove后的size动态调整,导致越界及集合遍历不完全。正确方法如下:ArrayList arr = new ArrayList(); for(int i = 10;i<15;i++) arr.add(i); arr.add(10); arr.add(10); arr.add(10); arr.add(10)...原创 2020-05-15 14:36:26 · 1536 阅读 · 0 评论 -
Cause: com.mysql.jdbc.exceptions.MySQLDataException: '2.552507998E9' in column '3' is outside valid.
2020-04-01 18:30:42,904 [http-8998-Processor9] ERROR com.bluewit.cis.action.videos.MiaVideoAccountAction(125) - 获取账号榜单异常...org.springframework.dao.DataIntegrityViolationException: SqlMapClient operat...原创 2020-04-23 18:28:48 · 400 阅读 · 0 评论 -
异常:javax.net.ssl.SSLException: Received fatal alert: protocol_version
异常信息javax.net.ssl.SSLException: Received fatal alert: protocol_version at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.Alerts.getSSLException(Unknown Source)...转载 2020-01-06 17:23:21 · 5688 阅读 · 0 评论 -
Unclosed character class near index 1 :[ 转义符问题
Exception in thread "main" java.util.regex.PatternSyntaxException: Unclosed character class near index 1:[at java.util.regex.Pattern.error(Unknown Source) at java.util.regex.Pattern.clazz(Unkno...原创 2019-09-08 15:03:03 · 1668 阅读 · 0 评论 -
异常[http-8092-Processor4] ERROR org.apache.struts2.dispatcher.DefaultDispatcher
在使用struts2的过程中,启动项目后控制台报错[http-8092-Processor4] ERROR org.apache.struts2.dispatcher.DefaultDispatcher页面报错空指针异常,如下图:原因:配置文件SqlMapConfig.xml和applicationContext-dao.xml中忘记配置解决办法:检查上述配置文件中遗漏的的...原创 2019-08-06 23:13:22 · 617 阅读 · 0 评论 -
Unsupported major.minor version 51.0(jdk版本错误)解决办法
运行项目时报以下错误 :原因:软件开发环境和运行环境的JDK版本不同解决方法:①在对应项目上右键选择Build Path——>Configure Bulid Path...,点击Libraries,查找并替换带红叉的jar包(通过Add External JARs...);②查看JRE System Library[jdk……]版本是否正确,通过Add Library....原创 2019-05-28 15:24:50 · 435 阅读 · 0 评论 -
There is no statement named MobileSiteFolder.getMobileSiteFolderList in this SqlMap异常解决办法
使用ibatis和struts2框架开发项目过程中遇到如下异常:2018-07-26 12:48:05,888 [http-9001-Processor4] ERROR org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler(42) - Exception occurred during processing request: T...原创 2018-07-26 22:43:26 · 378 阅读 · 0 评论 -
Exception occurred during processing request: null异常解决办法
在使用struts2框架开发的时候,前端发送.action请求后,控制台报以下异常,2018-07-25 19:48:18,911 [http-9001-Processor7] ERROR org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler(42) - Exception occurred during processing ...原创 2018-07-25 22:56:51 · 13312 阅读 · 3 评论 -
出现 java.net.MalformedURLException: no protocol 异常的原因及解决方法
1 异常描述在通过 IP 地址及端口号调用远程方法,进行单元测试的时候,报出如下异常:2 异常原因通过观察上图标记出来的异常描述,咱们可以知道:java.net.MalformedURLException: no protocol此异常,为:no protocol,没有指定通信协议异常。3 解决方法既然咱们已经知道了是因为没有指定通信协议,从而导致异常的发生。那么,咱们再回过头来,看看上面的 UR...转载 2018-04-17 10:45:05 · 13342 阅读 · 0 评论