Bob

As long as you are there to lead me ,I won't lose my way

常用链接

统计

积分与排名

JAVA

最新评论

exception

[Microsoft][ODBC 驱动程序管理器] 驱动程序的 SQLAllocHandle on SQL_HANDLE_ENV 失败
     摘要: [Microsoft][ODBC 驱动程序管理器] 驱动程序的 SQLAllocHandle on SQL_HANDLE_ENV 失败  阅读全文

posted @ 2009-08-04 10:28 KE 阅读(397) | 评论 (0)  编辑

解決在eclipse项目中使用utf-8字符時导出错误
     摘要: 在eclipse项目中使用utf-8字符可能会造成导出时产生错误,程序不能正常运行
我以前网上找到的办法都不好,解决的办法其实十分简单
在build.properties文件中加入

javacDefaultEncoding.. = UTF-8   阅读全文

posted @ 2009-07-28 09:17 KE 阅读(35) | 评论 (0)  编辑

getOutputStream() has already been called for this response

posted @ 2009-07-22 17:14 KE 阅读(15) | 评论 (0)  编辑

exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of XXX
     摘要: 今天给数据库中的一个表添加了几个字段,其值都为NULL
没想到添加后,在查询该表的时候竟然出错了,在网上查了一下....  阅读全文

posted @ 2008-03-16 12:41 KE 阅读(1397) | 评论 (3)  编辑

java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider
     摘要: java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider
此类错误错误信息,上网上查了一下.大概了解了下,原来是JAR文件版本问题,
  阅读全文

posted @ 2008-01-16 10:36 KE 阅读(2726) | 评论 (2)  编辑

log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable的异常
     摘要: 对于jboss4.0.x如果我们要用自己的log4j配置照上述改还是会有问题,会有类似于log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable的异常,解决方法是把/server/default/jbossweb-tomcat55.sar/META-INF/jboss-service.xml 中的以下两个熟悉改成true

以上就是使用jboss服务器可能出现的问题
  阅读全文

posted @ 2008-01-16 10:30 KE 阅读(1323) | 评论 (0)  编辑

struts2中使用displayTags的问题(ParametersInterceptor - [setParameters]: Unexpected Exception)
     摘要: ERROR - ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'd-49653-p' on 'class dgut.ke.actions.SubjectAction: Error setting expression 'd-49653-p' with value '[Ljava.lang.String;@d73256'  阅读全文

posted @ 2007-11-17 15:21 KE 阅读(3712) | 评论 (10)  编辑

申明式事务和OpenSessionInView
     摘要: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
  阅读全文

posted @ 2007-11-16 16:51 KE 阅读(1135) | 评论 (0)  编辑

表字段使用了关键字导致数据插入发生异常
     摘要: ERROR - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show, updateTime, id) values ('2c9ab2d51637c2ca0116380396f80009', '2c9ab2d516382' at line 1
ERROR - Could not synchronize database state with session  阅读全文

posted @ 2007-11-13 17:07 KE 阅读(297) | 评论 (0)  编辑

document.getelementbyid has no properties

posted @ 2007-10-26 21:04 KE 阅读(18) | 评论 (0)  编辑

struts + spring + hibernate整合事务配置的问题(请教高手)

posted @ 2007-10-07 13:36 KE 阅读(1330) | 评论 (1)  编辑

struts2 interceptor 问题(请教高手)

posted @ 2007-10-06 21:54 KE 阅读(1660) | 评论 (0)  编辑

一篇不错的讲解Java异常的文章(转载)----感觉很不错,读了以后很有启发

posted @ 2007-09-27 21:58 KE 阅读(3121) | 评论 (0)  编辑

java.lang.IllegalArgumentException: sessionFactory or hibernateTemplate is required

posted @ 2007-09-16 16:45 KE 阅读(6152) | 评论 (4)  编辑

传参数时id=${user.id }和id='${user.id }'

posted @ 2007-09-08 10:18 KE 阅读(101) | 评论 (0)  编辑

javax.servlet.ServletException: DispatchMapping[XXX] does not define a handler property

posted @ 2007-09-08 00:37 KE 阅读(1918) | 评论 (1)  编辑

MyEclipse 开发 SSH 整合时 java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit 解决方案

posted @ 2007-08-27 18:43 KE 阅读(392) | 评论 (1)  编辑

java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool异常的解决办法

posted @ 2007-08-26 09:31 KE 阅读(1903) | 评论 (1)  编辑