- 博客(10)
- 收藏
- 关注
原创 java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource的解决方法
用Myeclipse开发struts时,配置struts-config中的data-sources,出现java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource的解决方法struts-config.xml文件中的data-sources是这样配置的 data-sources>
2009-11-16 11:52:00
10601
转载 tomcat的时间和本地时间不同
在“首选项- >Tomcat - >JVM Settings ”项,设定 JRE 的版本为“ jre1.5.0_06”,并且添加如下几个JVM Parameters : -Xms128m -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT+08-------------------------------
2009-11-16 11:51:00
727
转载 在SSH项目中整合FCKeditor文本编辑器
来自:http://zoboya.javaeye.com/blog/319908(1) 先到http://www.fckeditor.net/download 下载FCKeditor_2.6rc.zip和FCKeditor-2.3.zip。将FCKeditor_2.6rc.zip解压缩,打开解压后的文件夹,将其中的fckeditor改名为FCKeditor整体复制到项目的WebRoo
2009-11-16 11:50:00
3055
转载 解决中文乱码问题的方法
1.首先,设置数据库支持中文gb2312/gbk。 具体方法: 打开mySQL文件夹,修改my.ini配置文件。 [client] port=3306 default-character-set=gb2312 以及 [mysqld]下的 default-character-set=gb2312 修改,保存,重启。若设为System服务,可以在控制面板-管理
2009-11-16 11:49:00
569
原创 missing ( before function parameters.
//function document.onreadystatechange()document.onreadystatechange=function ()
2009-11-16 11:47:00
383
原创 tomcat自动加载修改后的java类
使用调试模式即可。进TOMCAT的manager控制台,可以对指定的虚拟目录进行控制(加载,重载,卸载),比重启快的多,在TOMCAT的默认首页上有链接。============================================================================================我们在开发的过程经常需要调试,也常常需要修改
2009-11-16 11:44:00
661
转载 HTTP错误代码详细介绍
"100" : Continue "101" : witching Protocols "200" : OK "201" : Created "202" : Accepted "203" : Non-Authoritative Information "204" : No Content "205" : Reset Content "206" : Partia
2009-11-16 11:42:00
477
转载 关于org.hibernate.ObjectNotFoundException: No row with the given identifier exists 的快捷解决问题
最近时刻系统出现这样的问题,在网上google了一下,结果是因为数据问题。console错误打印:严重: Servlet.service() for servlet default threw exceptionorg.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.iss.fit.
2009-11-16 11:38:00
8553
原创 启动ssh项目出错java.lang.NoClassDefFoundError: org/dom4j/DocumentException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name sessionFactory defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean fai
2009-11-16 11:37:00
1778
1
原创 解释一个关于Hibernate lazy的问题
使用Hibernate时意外报错: Exception in thread "main" org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed at org.hibernate.proxy.AbstractLaz
2009-11-16 11:36:00
412
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人