摘要: [Microsoft][ODBC 驱动程序管理器] 驱动程序的 SQLAllocHandle on SQL_HANDLE_ENV 失败
阅读全文
摘要: 在eclipse项目中使用utf-8字符可能会造成导出时产生错误,程序不能正常运行
我以前网上找到的办法都不好,解决的办法其实十分简单
在build.properties文件中加入
javacDefaultEncoding.. = UTF-8
阅读全文
摘要: 今天给数据库中的一个表添加了几个字段,其值都为NULL
没想到添加后,在查询该表的时候竟然出错了,在网上查了一下....
阅读全文
摘要: java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.
()V from class org.hibernate.cache.EhCacheProvider
此类错误错误信息,上网上查了一下.大概了解了下,原来是JAR文件版本问题,
阅读全文
摘要: 对于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服务器可能出现的问题
阅读全文
摘要: 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'
阅读全文
摘要: 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.
阅读全文
摘要: 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
阅读全文