error
林子曰
这个作者很懒,什么都没留下…
展开
-
javax.validation.ValidationException: Unable to create a Configuration
今天在修改springmvc项目,做junit测试的时候,需要使用ApplicationContext。做了一个简单的测试方法:ApplicationContext ac = new ClassPathXmlApplicationContext(new String[]{"spring-mvc.xml", "spring-common.xml"});System.out.println("a...原创 2019-01-16 11:32:16 · 1952 阅读 · 0 评论 -
queue file write error
处理一个邮件自动发送,带附件的时候遇到问题。com.sun.mail.smtp.SMTPSendFailedException: 451 Error: queue file write error at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2108) at com.sun.mail.smtp...原创 2019-04-12 16:40:01 · 3888 阅读 · 4 评论 -
Caused by: java.lang.AbstractMethodError: org.apache.bval.jsr303.ConfigurationImpl.getDefaultParamet
使用junit跑测试遇到bug:[37:35] org.springframework.context.support.ClassPathXmlApplicationContext:488 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework....原创 2019-04-03 15:50:45 · 834 阅读 · 0 评论 -
POM 文件的project标签报错
今天导入一个git项目时,pom文件的project标签报错,然后依赖全部都是红色波浪。打开编辑器设定,找到maven这里修改为本机的maven地址。重启idea原创 2019-04-19 13:48:34 · 9473 阅读 · 1 评论 -
IDEA编辑器URI点击a标签的href不能打开对应controller的问题
前几天重装了下系统,然后idea重新下载了,git下项目,本想开始爽快的撸代码,结果出了个不大不小的问题,记录一下,么有完美的找到问题原因和解决方法。描述:一般在编辑页面的时候,a标签的href,cmd+Mouse click是可以跳转打开controller的。比如:<a href="/hello/world">你好啊</a>一般command + 鼠标左键...原创 2019-04-19 14:02:09 · 1335 阅读 · 0 评论 -
Exception loading sessions from persistent storage
启动tomcat时,日志报错:2019-04-30 08:52:18.128 ERROR [localhost-startStop-1] org.apache.catalina.session.StandardManager | Exception loading sessions from persistent storage java.io.StreamCorruptedExceptio...原创 2019-04-30 08:57:40 · 466 阅读 · 0 评论 -
no beans of type found for autowired repository
今天导入一个springboot1.5.9项目的时候出现个情况,idea打开某个serviceimpl全部autowired飘红。。。could not autowired no beans of xxx这个错误估计很常见了,大部分网上都有解决方法,不过我这里遇到的可能比较少见,参考:https://stackoverflow.com/questions/26889970/intellij-...原创 2019-04-25 13:58:30 · 183 阅读 · 0 评论