
异常处理
运气好同学
Self-discipline
展开
-
Failed to pull selection
由于编者水平有限,文中难免会有错误和疏漏,请各位读者能提出宝贵建议或给予指正,可在博文下评论指出,我会及时改进,在此先感谢各位。 本文是自己学习所做笔记,欢迎转载,但请注明出处:http://blog.youkuaiyun.com/yijuanxia.从手机模拟器中导出文件时出现图片中的异常 具体操作请看图片中的命令原创 2017-03-11 20:23:06 · 341 阅读 · 0 评论 -
导入core项后类文件右侧整块报错
异常信息:原因:缺少相关依赖的jar解决:目录下的java包原创 2018-12-07 18:47:07 · 281 阅读 · 0 评论 -
从maven私服上拉自定义jar包失败
异常信息:更新maven,但是有两个jar包拉不下来原因:重新检查了所有的部署环境和本地的仓库路径,确认都是正确的,束手无策之下百度到关于maven的问题解决和描述的精辟的总结:在使用Maven私服Sonatype Nexus的时候,经常会出现依赖包找不到的问题.此时通过浏览器去私服页面查看,发现依赖包坐标是存在的,对应的文件(比如jar文件). 或者私服上面也找不到文件,但是引入的中央仓...转载 2018-12-07 18:41:55 · 4158 阅读 · 0 评论 -
JpaSystemException could not extract ResultSet
异常信息:org.springframework.orm.jpa.JpaSystemException: could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet at org.springframewo...原创 2018-12-07 18:35:45 · 7369 阅读 · 1 评论 -
springcloud配置consul为注册中心health接口访问503
异常信息:原因:两个项目的springCloud的版本不一致解决:修改为同一个springCloud的版本即可原创 2018-12-07 18:24:24 · 2034 阅读 · 0 评论 -
springboot启动报pageableCustomizer
异常信息:Disconnected from the target VM, address: '127.0.0.1:62716', transport: 'socket'2018-11-18 14:02:16.673 INFO 2356 --- [ main] com.ego.model.ModelApplication : Starting Mod...原创 2018-12-02 13:38:38 · 4857 阅读 · 0 评论 -
maven引包异常
问题:将maven私服和仓库是对的,但是有些包一直引入不进来原因1:maven私服的地址为域名的形式,本机DNS解析有问题原因2:idea问题,重新退出再打开...原创 2018-12-02 13:33:37 · 510 阅读 · 0 评论 -
Load balancer does not have available
异常信息:com.netflix.client.ClientException: Load balancer does not have available server for client: aceMarsoftCore at com.netflix.loadbalancer.LoadBalancerContext.getServerFromLoadBalancer(LoadBalanc...原创 2018-12-02 13:32:29 · 2058 阅读 · 0 评论 -
JpaSystemException could not extract ResultSet
异常信息:org.springframework.orm.jpa.JpaSystemException: could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet at org.springframewor...原创 2018-12-02 13:29:26 · 2353 阅读 · 0 评论 -
java.net.SocketTimeoutException Read timed out
异常信息:2018-08-14 00:13:50.976 [http-nio-8080-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] 182 - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request ...原创 2018-12-02 13:23:23 · 2286 阅读 · 0 评论 -
IllegalArgumentException Could not resolve placeholder
异常信息:Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.[2018-12-01 10:35:28.662] [ace-external-web] [] [main] [ERROR] o.s.boo...原创 2018-12-02 13:19:08 · 3647 阅读 · 1 评论 -
Error running Tomcat8 Address localhost 1022 is already in use
异常信息:启动了A系统,tomcat配置如下启动B系统,tomcat配置如下原因:未知解决:将1022改成比1100(比系统A的JMX port 大即可)原创 2018-12-02 13:15:29 · 313 阅读 · 0 评论 -
Feign请求参数格式错误
异常信息:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.fujfu.ace.internal.client.AceMarsoftCoreClient': FactoryBean threw exception on object cr...原创 2018-12-02 13:10:01 · 1407 阅读 · 0 评论 -
feign请求时间超时
异常信息:org.springframework.web.util.NestedServletException: Request processing failed; nested exception is feign.RetryableException: Read timed out executing POST http://aceMarsoftCore/searchLoanList...原创 2018-12-02 13:03:23 · 1502 阅读 · 0 评论 -
application.yml文件使用@符合异常
异常信息:在application配置文件中使用@出现异常:Exception in thread “main” while scanning for the next tokenfound character ‘@’ that cannot start any token. (Do not use @ for indentation)in ‘reader’, line 4, column...原创 2018-12-02 12:57:05 · 2627 阅读 · 3 评论 -
整合mybatis报错 Invalid bound statement (not found)
异常信息org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.ego.core.mybatistx.dao.AccountMapper.update at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init&g...原创 2018-12-07 18:54:00 · 740 阅读 · 0 评论