<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[山区的传说]]></title><description><![CDATA[F。F。]]></description><link>https://blog.youkuaiyun.com/epfeng</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; epfeng]]></copyright><item><title><![CDATA[Eclipse第一次启动提示“The Eclipse executable launcher was unable to locate its  companion shared library. ”]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/7414566</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/7414566</guid><author>epfeng</author><pubDate>Sat, 31 Mar 2012 10:25:26 +0800</pubDate><description><![CDATA[原因是系统环境变量没有配置好
配置好系统环境变量后重新解压Eclipse问题解决]]></description><category></category></item><item><title><![CDATA[MySQL5 绿色版安装教程]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/6029337</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/6029337</guid><author>epfeng</author><pubDate>Tue, 23 Nov 2010 11:55:00 +0800</pubDate><description><![CDATA[MySQL5 绿色版安装教程 内容提要：mysql-noinstall-5.0.67-win32.zip的安装教程 一、下载，这里使用绿色解压缩版 http://mysql.west.mirrors.airband.net/Downloads/MySQL-5.0/mysql-noinstall-5.0.67-win32.zip 二、配置MySQL5的参数 1、解压缩绿色版软件到D:/mysql-5.0.67-win322、修改D:/mysql-5.0.67-win32/my-small.ini文件内容，添加]]></description><category></category></item><item><title><![CDATA[修复 win7 资源管理器右键 Jumplist 最近访问的文件和固定项目不显示]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/6001056</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/6001056</guid><author>epfeng</author><pubDate>Wed, 10 Nov 2010 19:46:00 +0800</pubDate><description><![CDATA[如下图       只剩下三个基本的选项  解决方法:   打开     %AppData%/Microsoft/Windows/Recent/AutomaticDestinations     (直接在任务管理器地址栏输入)  删除这个文件夹里面以 .automaticDestinations-ms 结尾的文件   原来的记录就没了    系统会重新建立这个文件  这样就可以显示出来   PS:固定项目要自己去设置]]></description><category></category></item><item><title><![CDATA[MyEclipse6.5安装/卸载SVN插件方法]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/6000499</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/6000499</guid><author>epfeng</author><pubDate>Wed, 10 Nov 2010 08:06:00 +0800</pubDate><description><![CDATA[   经过长时间学习MyEclipse6.5安装SVN插件，掌握了几种方法，本节就像大家介绍一下MyEclipse6.5安装SVN插件的三种方法，看完本文你肯定有不少收获，希望本文能教会你更多东西。    一、安装方法：    MyEclipse6.5安装SVN插件方法一、如果可以上网可在线安装       Technorati 标签: SVN      1.打开Myeclipse，在菜单栏中选择Help→SoftwareUpdates→FindandInstall;       2.选择Searchfor]]></description><category></category></item><item><title><![CDATA[非安装的tomcat,如何注册成系统服务.]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5972208</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5972208</guid><author>epfeng</author><pubDate>Thu, 28 Oct 2010 16:23:00 +0800</pubDate><description><![CDATA[<br />非安装的tomcat,如何注册成系统服务.<br /><br />1    设置环境变量<br />    设置JAVA_HOME:<br />        JAVA_HOME = D:/Java/jdk1.5.0_09<br />    设置CLASSPATH:<br />        CLASSPATH = .;D:/Java/jdk1.5.0_09/lib/rt.jar;D:/Java/jdk1.5.0_09/lib/tools.jar<br />    设置Path:<br />  ]]></description><category></category></item><item><title><![CDATA[log4j:ERROR LogMananger.repositorySelector was null likely due to error in class]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5927210</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5927210</guid><author>epfeng</author><pubDate>Fri, 08 Oct 2010 14:25:00 +0800</pubDate><description><![CDATA[<br />SSH整合出现<br />log4j:ERROR LogMananger.repositorySelector was null likely due to error in class<br />Log4j 1.2.15存在一个bug]]></description><category></category></item><item><title><![CDATA[org.hibernate.exception.JDBCConnectionException: Cannot open connection]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5927185</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5927185</guid><author>epfeng</author><pubDate>Fri, 08 Oct 2010 14:17:00 +0800</pubDate><description><![CDATA[<br />org.hibernate.exception.JDBCConnectionException: Cannot open connection  <br /> <br />解决方法:<br /> <br />java.lang.NoSuchFieldError: EMPTY_ORDERED_ITERATOR <br />出现是Jar 包冲突导致，删除commons-collections-2.0.jar保留commons-collections-3.0.jar]]></description><category></category></item><item><title><![CDATA[java.lang.OutOfMemoryError: PermGen space]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5927149</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5927149</guid><author>epfeng</author><pubDate>Fri, 08 Oct 2010 14:06:00 +0800</pubDate><description><![CDATA[内存溢出。
如果你的应用中有很多CLASS的话,就很可能出现PermGen space错误,
这种错误常见在web服务器对JSP进行pre compile的时候。如果你的WEB APP下使用了大量的第三方jar, 其大小超过了jvm默认的大小(4M)
那么就会产生此错误信息了。
解决方法： 手动设置MaxPermSize大小
修改TOMCAT_HOME/bin/catalina.sh
在“echo "Using CATALINA_BASE:    $CATALINA_BASE"”上面加入以下行：]]></description><category></category></item><item><title><![CDATA[ssh 中使用c3p0 的连接池配置 ]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5927046</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5927046</guid><author>epfeng</author><pubDate>Fri, 08 Oct 2010 13:39:00 +0800</pubDate><description><![CDATA[<br /> <br />applicationContext.xml 文件：<br /> <br /><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:jee="http://www.springframework.org]]></description><category></category></item><item><title><![CDATA[SSH:修改数据库名,jdbc.properties也修改了,但是后发现指向还是旧数据库]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5922661</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5922661</guid><author>epfeng</author><pubDate>Tue, 05 Oct 2010 17:35:00 +0800</pubDate><description><![CDATA[<br />google后发现是*.hbm.xml的问题，catalog配置了数据库名，如：<br />     <class name="bean" table="tbname"catalog="database"><br />把catalog="database"去掉<br />问题解决<br />]]></description><category></category></item><item><title><![CDATA[java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5921635</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5921635</guid><author>epfeng</author><pubDate>Mon, 04 Oct 2010 20:23:00 +0800</pubDate><description><![CDATA[<br />出现这个异常的原因是因为Hibernate3.2.5版本的（select count(*)）查询返回的结果是个Long 不能强制转换<br /> <br />解决方法：<br />方法1：借用String进行转换<br />public int method（arg.........）{

Session session=getSession();
   Query query=session.createQuery(hql);
   Long lo=(Long)query.unique]]></description><category></category></item><item><title><![CDATA[Filter 失效问题]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5921339</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5921339</guid><author>epfeng</author><pubDate>Mon, 04 Oct 2010 16:34:00 +0800</pubDate><description><![CDATA[<br />某个项目中用filter 作权限过滤<br />部分 .do 过滤不了<br /> <br />经测试,发现是命名问题<br />例如: 第一个 Action 的名字为 UserAction<br />        第二个 Action 的名字为 UserInfoAction<br />        第三个 Action 的名字为 AddUserAction<br /> <br />这样命名就导致第二第三个action 过滤失效]]></description><category></category></item><item><title><![CDATA[action 如何读取ApplicationResources.properties]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5921088</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5921088</guid><author>epfeng</author><pubDate>Mon, 04 Oct 2010 13:54:00 +0800</pubDate><description><![CDATA[<br />MessageResources resources = MessageResources.getMessageResources("com.config.ApplicationResources");<br />
String   freight = resources.getMessage("freight");<br />com.config.ApplicationResources是在struts.config.xml里面最下面定义的message resource 中paramete]]></description><category></category></item><item><title><![CDATA[tomcat 6 启动 报错 End event threw exception ]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5919529</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5919529</guid><author>epfeng</author><pubDate>Sun, 03 Oct 2010 10:42:00 +0800</pubDate><description><![CDATA[<br />2010-10-2 23:13:55 org.apache.tomcat.util.digester.Digester endElement
严重: End event threw exception
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorI]]></description><category></category></item><item><title><![CDATA[Struts 1    Cannot retrieve mapping for action /* 解决办法]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5918053</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5918053</guid><author>epfeng</author><pubDate>Fri, 01 Oct 2010 20:32:00 +0800</pubDate><description><![CDATA[<br />因为设置了mapping的返回，但返回的映射路径错了<br /> <br />解决办法<br /> <br />查找 struts-config.xml 文件里面没有对应上action和mapping的映射，检查 path="" 是否错误]]></description><category></category></item><item><title><![CDATA[配置文件中出现 The reference to entity "XX" must end with the ';' delimiter. 错误提示]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5918040</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5918040</guid><author>epfeng</author><pubDate>Fri, 01 Oct 2010 19:56:00 +0800</pubDate><description><![CDATA[配置文件中出现 The reference to entity "XX" must end with the ';' delimiter. 错误提示一般是因为 文件里面 出现 " & "解决办法在 " & " 后面加上 " amp; "    (不含双引号) ]]></description><category></category></item><item><title><![CDATA[exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) 解决方法]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5917696</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5917696</guid><author>epfeng</author><pubDate>Fri, 01 Oct 2010 11:53:00 +0800</pubDate><description><![CDATA[先google了一下 原因有以下几点1.exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of 又见这样的错误，原因是对于一些数字项由于从数据库里面取出的值为null 2.映射为bolean的字段，在建表时，如果没有设定字段的default值,会导致exception setting property value with ]]></description><category></category></item><item><title><![CDATA[SSH+MySQL开发中的中文乱码问题]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5915258</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5915258</guid><author>epfeng</author><pubDate>Wed, 29 Sep 2010 22:58:00 +0800</pubDate><description><![CDATA[<br />SSH+MySQL开发一个简单的系统，hql传回数据库中含有中文即出现乱码 <br />页面、数据库皆使用utf-8格式<br />已使用filter<br /> <br />后发现是mysql的jar包问题<br />更换后乱码问题解决]]></description><category></category></item><item><title><![CDATA[测试用Windows Live Write 写优快云博客]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5894090</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5894090</guid><author>epfeng</author><pubDate>Sun, 19 Sep 2010 11:31:00 +0800</pubDate><description><![CDATA[RT]]></description><category></category></item><item><title><![CDATA[查看mysql版本的四种方法]]></title><link>https://blog.youkuaiyun.com/epfeng/article/details/5892648</link><guid>https://blog.youkuaiyun.com/epfeng/article/details/5892648</guid><author>epfeng</author><pubDate>Sat, 18 Sep 2010 12:59:00 +0800</pubDate><description><![CDATA[<br />1：在终端下：mysql -V。 以下是代码片段： <br />[shengting@login ~]$ mysql -V <br />mysql Ver 14.7 Distrib 4.1.10a, for redhat-linux-gnu (i686) <br /> <br /> <br />2：在mysql中：mysql> status; <br />以下是代码片段： <br />mysql> status; <br />-------------- <br />mysql Ver 14.7]]></description><category></category></item></channel></rss>