异常
超然木鸡
这个作者很懒,什么都没留下…
展开
-
Oracle 异常 ORA-01861: literal does not match format string(字符串格式不匹配)
如果直接按照字符串方式,或者,直接使用'2007-12-28 10:07:24',没有指定日期格式,就会报错:ORA-01861: 文字与格式字符串不匹配 必须指定日期格式 正确 SELECT D261 as ename,GENTIME,D267 FROM UNITE.UPR_C2_NE_VENDOR Twhere T.GENTIME:03:00' , 'yyyy转载 2011-12-15 09:14:25 · 525 阅读 · 0 评论 -
column: xxxxxx_ID (should be mapped with insert="false" update="false")
column: xxxxxx_ID (should be mapped with insert="false" update="false")不同的属性映射为相同的字段,重复映射同一个字段,就会出现这个错误;原创 2012-06-15 13:28:45 · 2490 阅读 · 0 评论 -
spring 异常
... 38 moreCaused by: java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy0 implementing com.s2hs.dao.UserDAO,org.springframework.beans.factory.InitializingBean,org.springframewo转载 2012-06-01 14:11:22 · 623 阅读 · 0 评论 -
java.io.IOException: Server returned HTTP response code: 500 for URL
java.io.IOException: Server returned HTTP response code: 500 for URL java.io.IOException: Server returned HTTP response code: 500 for URL:http://physics.whu.edu.cn/show.asp?id=278java.io.IOExcepti转载 2012-04-17 13:19:51 · 6099 阅读 · 0 评论 -
tomcat项目无法发布异常,Could not copy all resources to .........
[plain] Deployment failure on Tomcat 6.x. Could not copy all resources to D:\Program Files\apache-tomcat-6.0.16\webapps\fuNan_conv. If a file is locked, you can wait until the lock times out to redep转载 2012-03-13 14:07:56 · 5732 阅读 · 0 评论 -
SQL ERROR 17002
SQLError:17002 Cannot open connection 修改oracle数据库连接数 2011-05-05 15:38:42| 分类:oracle | 标签:|字号大中小 订阅SQL Error: 17002 Cannot open connection 修改oracle数据库连接数 现象:tomcat启转载 2012-03-12 09:03:26 · 25666 阅读 · 1 评论 -
invalid character
运行程序出现如下错误。 SQL Error: 911, SQLState: 42000 ORA-00911: invalid character 去掉了SQL语句的 ; 号,问题解决原创 2012-02-23 16:31:10 · 625 阅读 · 0 评论 -
hibernate org.hibernate.TypeMismatchException
常见Hibernate异常org.hibernate.TypeMismatchException: Provided id of the wrong type for class:严重: Servlet.service() for servlet action threwexceptionorg.hibernate.TypeMismatchException: Provided id转载 2012-01-07 09:47:54 · 1429 阅读 · 1 评论 -
myeclipse8.5 ,An internal error occurred during: "Add Deployment".解决办法
原因就是JDK版本不一致查了一下发现导入的类库报错,删除后重新选择jdk就好了 右键项目名→Properties→Java Build Path→Libraries→选中JRE System Library[Sun JDK 1.5.0.22]→Edit→选中“Workspace default JRE(Sun JDK 1.5.0.22)”→FinishSun JDK 1.5.0.22转载 2011-12-25 21:10:53 · 2913 阅读 · 1 评论 -
org.hibernate.HibernateException: No Hibernate Session bound to thread, and
org.hibernate.HibernateException: No Hibernate Session bound to thread, and SSH整合时spring事务配置错误导致原创 2012-06-26 14:33:17 · 755 阅读 · 0 评论