摘要: Strings are a fundamental part of any modern programming language, every bit as important as numbers. So you'd think that Java programmers would go ou... 阅读全文
posted @ 2015-09-15 11:41 佩恩ve 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 出现:java.lang.SecurityException:JCE cannot authenticate the provider BC2种方法:修改jdk的提供者:在jdk/jre/lib/sercurity/java.security 增加security.provider.11=org.b... 阅读全文
posted @ 2015-09-15 09:34 佩恩ve 阅读(8222) 评论(0) 推荐(0) 编辑
摘要: import java.io.StringReader;import org.dom4j.Document;import org.dom4j.DocumentException;import org.dom4j.DocumentHelper;import org.dom4j.Element;impo... 阅读全文
posted @ 2015-05-07 17:46 佩恩ve 阅读(1066) 评论(0) 推荐(0) 编辑
摘要: 异常:Cause: java.sql.SQLException: Io exception: Connection reset问题原因:配置连接池问题解决:a、如(JNDI) b、如(项目dataSource) 阅读全文
posted @ 2015-04-29 17:05 佩恩ve 阅读(1757) 评论(0) 推荐(0) 编辑
摘要: public class User { @NotBlank private String name; @Valid @NotNull private UserInfo userInfo; }这样验证是无效的; 原因是@Valid无法识别下面的对象属性应该改成如下格式public class Us... 阅读全文
posted @ 2015-04-16 11:47 佩恩ve 阅读(1329) 评论(0) 推荐(0) 编辑