摘要: hibernate 断网情况下会报错org.dom4j.DocumentException: www.hibernate.org Nested exception: www.hibernate.org错误原因,是因为hibernate的xml配置文件头部信息配置 引起的引起错误的配置应该使用的配置是以后直接拷贝org.hibernate包下的dtd文件的头部信息 阅读全文
posted @ 2014-04-10 21:32 choukin 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 写在前面:StringUtils是apache commons lang库(http://commons.apache.org/lang)旗下的一个工具类,提供了很多有用的处理字符串的方法StringUtils.isEmptyStringUtils.isNotEmptyStringUtils.isBlankStringUtils.isNotBlank 这四个方法的作用和区别,只要搞懂empty和blank的区别就ok了empty 中文意思是 空的,blank中文意思是空白。StringUtils.isEmpty 判断是否是空的字符串,即是否是null或者""(空白字符)St 阅读全文
posted @ 2014-03-13 17:30 choukin 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 一.官网 下载 英文官网http://golang.org/ 中文官网http://zh.golanger.com/二.zip安装配置环境变量系统变量名:GOROOT值:C:\go\binGo的安装位置C:\go系统变量名:Path追加值:;%GOROOT%\bin三.是否正确安装go version四.编译,执行1.编译go build -o C:\test.exe C:\test.go或者go build C:\test.go2.执行,在命令提示符中执行命令:test.exe五.注意(window环境) 用go get去安装第三方包出错:exec: "hg": exec 阅读全文
posted @ 2013-12-03 23:27 choukin 阅读(218) 评论(0) 推荐(0) 编辑