Java
daigua245
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Tomcat应用向所在的linux环境中的文件写入中文字符乱码
Problem Tomcat中的应用向所在的linux环境的某个文件写中文字符,在linux下查看该文件中的中文字符显示乱码。 Solution 修改Tomcat目录下的/bin/catalina.sh文件,将CATALINA_OPTS的变量值修改成-Dfile.encoding=UTF8,如export CATALINA_OPTS=".... -Dfile.encoding=UTF8"原创 2012-04-29 19:24:07 · 5288 阅读 · 0 评论 -
邮件发送失败( connection failed,Can't send command to SMTP host,Broken pipe)
问题:用JAVA MAIL发送邮件的时候报以下错误: Mail server connection failed; nested expection is javax.MessagingException: Can't send command to SMTP host; nested exception is: java.net.SocketException: Write fai原创 2012-05-12 13:24:00 · 18508 阅读 · 1 评论 -
Openfire Plugin FastPath NullPointerException
问题描述: 在linux环境下,openfire的plugin FastPath,点击group name时,就会报错,查服务器日志,错误信息为 java.lang.NullPointerException at org.jivesoftware.openfire.plugin.fastpath.workgroup_002dqueues_jsp._jspService(workg原创 2012-10-30 00:38:42 · 1472 阅读 · 1 评论 -
spark二次开发eclipse环境搭建
Java Build Path -> Source : spark/src/java Java Build Path -> Libraries : spark/build/lib/* , spark/build/lib/dist/*, spark/build/lib/dist/ext/*, spark/build/lib/merge/*, spark/plugins/jingle转载 2012-11-20 12:30:22 · 2962 阅读 · 0 评论 -
Spring Annotations Cheat Sheet
Spring Annotations By Craig Walls SPRING ANNOTATIONS From its beginning, Spring's most common means of configuration has been XML-based. But as developers grow weary of navigating through a s转载 2012-12-21 11:07:15 · 1140 阅读 · 0 评论 -
openfire二次开发eclipse环境搭建
1.将openfire源码项目解压到(如果是从SVN CO下来的则不用)eclipse工作目录,例如E:\workspace\openfire,目录结构如图所示: 2.打开eclipse,新建java project,项目名命名为openfire,跟放到工作目录的文件夹同名,点击finish,eclipse智能地帮我们搞定了很多东西,包括lib的引入,source folder,原创 2012-08-29 00:52:32 · 19284 阅读 · 0 评论
分享