异常
书之岁华
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
org.springframework.transaction.UnexpectedRollbackException
严重: Servlet.service() for servlet [dispatcher] in context with path [/ycjg] threw exception [Request processing failed; nested exception is org.springframework.transaction.UnexpectedRollbackException:...原创 2018-09-29 16:01:09 · 1563 阅读 · 0 评论 -
java.lang.IllegalStateException非法状态异常
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.apache.log4j.DailyRollingFileAppenderCustomizer]. The following stack trace...原创 2018-09-29 16:32:45 · 9607 阅读 · 0 评论 -
org.springframework.beans.factory.BeanCreationException——Bean的实例化失败。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '...' defined in file [...]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInst...原创 2018-09-29 17:09:51 · 892 阅读 · 0 评论 -
ajax POST提交400 (Bad Request)、HTTP Status 405 - Request method 'GET' not supported
用ajax请求提交表单时,出现以上情况 400(错误请求)状态码表明服务器不能或不会因为被认为是某件事而处理请求客户端错误(例如,错误的请求语法,无效请求消息框架,或欺骗性请求路由)。 例:表单中有日期字段 1、页面 <label for="inputEmail3" class="col-sm-2 control-label">运行日期:</label> <div...原创 2018-10-09 16:33:31 · 5968 阅读 · 0 评论 -
java.lang.ClassNotFoundException: com.hg.task.jobbean.JobBean
原因:该类的.class文件未找到(未被加载) 一、在该目录下有该源文件(.java) 解决:重新发布和编译。tomcat右键clean、Clean Tomcat Work Directory 二、在该目录没有该源文件(.java) 解决:添加该源文件,重复上面步骤。 ...原创 2018-10-20 10:32:59 · 304 阅读 · 0 评论 -
org.springframework.beans.factory.BeanNotOfRequiredTypeException
org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named '*' must be of type [*], but was actually of type [com.sun.proxy.$Proxy34] 检查注解的名字是否和类型名一致,Spring注入失败导致的错误。 //修改前 @Resourc...转载 2018-10-26 16:05:58 · 514 阅读 · 0 评论 -
点击超链接第一次能发送请求,第二次点击却不能发送请求
1、点击超链接并弹出modal(模态框) 问题:第一次发送请求并得到响应成功,但是重新点击原来或其他超链接均不能把请求提交到后台。均弹出同上modal。 原因:&amp;lt;div class=&quot;modal fade&quot; id=&quot;photoInfoModal&quot; role=&quot;dialog&quot;&amp;gt;&a原创 2018-11-14 11:08:19 · 1220 阅读 · 0 评论 -
connection.getOutputStream() 报java.net.ConnectException: Connection timed out: connect
1、确保客户端的ip地址正确。 2、确保客户端与服务器端处于相同网络 3、确保防火墙已经关闭 4、服务器端的服务(文件服务)挂了转载 2018-11-19 11:46:15 · 3335 阅读 · 0 评论
分享