![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常收集
Littlebaum
致力于基于bs架构开发
展开
-
Row was updated or deleted by another transaction 异常原因及处理
org.hibernate.StaleObjectStateException:Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xx.xx:11]说明操作的对象时应用了乐观锁机制,或定义pojo时定义了version字段.错误原因:原创 2012-02-02 15:16:15 · 27668 阅读 · 3 评论 -
BlazeDS Spring Security Integration问题一点总结
BlazeDS使用远程对象(rpc)方式请求与httpsession方式请求不同,不共用httpsession,在使用springsecurity控制登陆权限时请求远程对象时会出现session不可用(invalid)问题,解决办法:在applicationContext.xml里面添加flex:message-broker> flex:secured />/flex:messag原创 2012-03-28 16:51:15 · 956 阅读 · 0 评论 -
mvn test 乱码问题
当运行mvn test时出现乱码,解决办法:修改maven-surefire-plugin插件配置: ... once -Dfile.encoding=UTF-8 ... 参考: http://blog.csdn.net/qq280948982/article/details/6959732http://monsoon原创 2012-04-06 15:44:32 · 1021 阅读 · 0 评论 -
PostgreSQL 服务win7下启动后又停止的问题解决
今天遇到PostgreSQL 服务win7下启动后又停止的问题,解决办法是给PostgreSQL安装目录的权限添加Everyone权限,并赋予读写权限。原创 2012-06-19 09:51:52 · 4180 阅读 · 0 评论 -
maven test java.lang.NoSuchFieldError: NULL
在把spring升级到3.1.1.RELEASE后,运行maven test出错:java.lang.NoSuchFieldError: NULL at org.junit.runners.ParentRunner.(ParentRunner.java:47)at org.junit.runners.BlockJUnit4ClassRunner.(BlockJUnit4Cl原创 2012-06-29 13:13:16 · 1415 阅读 · 0 评论