1、spring配置声明式事务时出现异常:Caused by: java.lang.ClassNotFoundException: org.springframework.core.annotation.AnnotatedElementUtils原因:此类在spring4.0中才有,项目中可能有显示...
                            
                            
                                分类:
其他好文   时间:
2015-06-18 11:12:07   
                                阅读次数:
176
                             
                    
                        
                            
                            
                                1、错误描述
org.hibernate.exception.GenericJDBCException: error executing work
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
	at org.hib...
                            
                            
                                分类:
数据库   时间:
2015-06-15 20:33:36   
                                阅读次数:
238
                             
                    
                        
                            
                            
                                1、错误描述
org.hibernate.exception.GenericJDBCException: error executing work
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
	at org.hib...
                            
                            
                                分类:
数据库   时间:
2015-06-15 20:32:26   
                                阅读次数:
190
                             
                    
                        
                            
                            
                                昨晚修改了一些表关系,在相关的hbm.xml文件中做了改动,今天早上起来启动tomcat后,发现项目启动不了,控制台报错:2015-6-14 9:09:42 org.apache.catalina.core.StandardContext listenerStart严重: Exception sen...
                            
                            
                                分类:
移动开发   时间:
2015-06-14 10:44:16   
                                阅读次数:
214
                             
                    
                        
                            
                            
                                MessageFormat(动态问文本)一.如果一个字符串中包含了多个与国际化相关的数据,可以使用MessageFormat类对这些数据进行批量处理。例如:At 12:30 pm on jul 3,1998, a hurricance destroyed 99 houses and caused $...
                            
                            
                                分类:
其他好文   时间:
2015-06-13 12:43:30   
                                阅读次数:
147
                             
                    
                        
                            
                            
                                当删除一个文件,再重新下载这个同名文件,保存到sdcard时出现error,部分手机出现
Caused by: libcore.io.ErrnoException: open failed: EBUSY (Device
or resource busy)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuard...
                            
                            
                                分类:
移动开发   时间:
2015-06-11 13:00:09   
                                阅读次数:
140
                             
                    
                        
                            
                            
                                1、错误描述
[ERROR:]2015-06-08 09:49:42,523 [异常拦截] 
org.hibernate.exception.DataException: error executing work
	at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelega...
                            
                            
                                分类:
数据库   时间:
2015-06-10 19:25:11   
                                阅读次数:
229
                             
                    
                        
                            
                            
                                1、错误描述
[ERROR:]2015-06-10 13:48:26,253 [异常拦截] oa.exception.ExceptionHandler
org.hibernate.exception.GenericJDBCException: error executing work
	at org.hibernate.exception.internal.StandardSQLExceptio...
                            
                            
                                分类:
数据库   时间:
2015-06-10 15:40:31   
                                阅读次数:
254
                             
                    
                        
                            
                            
                                这个原因在于Oracle语法限制,in内数量必须小于1000,故采取满1000分割用OR连接,下面是解决方案:	/**
	  * Example: List sqhlist=[''aa''"bb""cc""dd""ee""ff""gg"'] ;
	  * Test.getSqlStrByList(sqhList,3,"SHENQINGH")= "SHENQING IN
	  * ('aa','bb...
                            
                            
                                分类:
数据库   时间:
2015-06-09 11:59:15   
                                阅读次数:
171
                             
                    
                        
                            
                            
                                看到系统的一个错误,模拟一下:
Caused by: java.lang.StackOverflowError
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newI...
                            
                            
                                分类:
编程语言   时间:
2015-06-08 17:30:57   
                                阅读次数:
224