![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Exception
文章平均质量分 50
脚本小子
脚本小子
展开
-
mysql中文问题和异常:org.springframework.orm.hibernate3.HibernateJdbcException
异常全部显示为: org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access; nested exception is org.hibernate.exception.GenericJDBCException: Could not execute原创 2012-02-02 20:33:50 · 3619 阅读 · 0 评论 -
【webservice】org.apache.cxf.interceptor.Fault: Unexpected wrapper element {http://webservice.index.
2012-4-20 13:51:22 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass信息: Creating Service {http://vo.webservice.user.fhi.com/}userWebServiceTestInService from class co原创 2012-04-20 14:01:52 · 23446 阅读 · 1 评论 -
【jsp】Fragment "/index.do?method=top" was not found at expected path
Fragment "/index.do?method=top" was not found at expected path----------------------------------------------------------------------------------------------------------------------------------------原创 2012-04-20 13:39:43 · 14380 阅读 · 2 评论 -
java.lang.NumberFormatException: For input string: "0 "
java.lang.NumberFormatException: For input string: "1.0" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:477) at java.lan原创 2012-05-18 15:55:25 · 8827 阅读 · 0 评论 -
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has
@Transactional public void foo() { try{ bar(); } catch (RuntimeException re) { // caught but not throw further } } @T原创 2012-05-21 16:54:35 · 16815 阅读 · 2 评论 -
【hibernate】关于org.hibernate.ObjectNotFoundException: No row with the given identifier exists 的快捷解决问题
最近时刻系统出现这样的问题,在网上google了一下,结果是因为数据问题。console错误打印:严重: Servlet.service() for servlet default threw exceptionorg.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.iss原创 2012-02-02 20:33:09 · 1840 阅读 · 0 评论 -
Syntax error on token "configure", Identifier expected after this token
Syntax error on token "configure", Identifier expected after this tokenstatic{Configuration config=new Configuration();config.configure();}原创 2012-02-16 23:21:45 · 6071 阅读 · 5 评论 -
Duplicate entry '20120323' for key 'PRIMARY'
仅执行一次便显示重复的条目。查看数据库后,数据库中记录已插入、com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '20120323' for key 'PRIMARY' at com.mysql.jdbc.SQLError.createSQLException原创 2012-03-27 15:28:44 · 1871 阅读 · 0 评论 -
cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'错误
今天在使用struts-menu制作菜单,在web.xml中写入 /WEB-INF/struts-menu.tld /WEB-INF/struts-menu.tld 后,提示“cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'”错误。原创 2012-03-21 10:35:40 · 3164 阅读 · 0 评论 -
【hibernate】Attribute "column" must be declared for element type "property"解决办法
hibernate,自己写的xxx.hbm.xml文件 出现错误:Attribute "column" must be declared for element type"property"这是因为我是复制了hibernate.cfg.xml的头部文件 "-//Hibernate/Hibernate Configuration DTD 3.0//EN"原创 2012-02-16 23:04:35 · 4576 阅读 · 2 评论 -
【hibernate】错误org.hibernate.ObjectNotFoundException: No row with the given identifier exists
[INFO ] http-8080-Processor21 2008-03-24 10:15:47,656 org.hibernate.event.def.DefaultLoadEventListener - Error performing load commandorg.hibernate.ObjectNotFoundException: No row with the given原创 2012-02-02 20:30:39 · 2064 阅读 · 0 评论 -
【Jstl】java cannot find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
出现java cannot find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"主要的愿意是因为没有jstl的jar包,如果你里面有了,那么可能是版本的问题,j2ee版本如果是1.4那么就要加jstl.jar包,如果是以上就不用加了,还有一个问题是jstl.jar包版本的问题,如果你里面是jstl1.1那原创 2012-04-16 15:33:23 · 3440 阅读 · 0 评论 -
【hibernate】org.hibernate.MappingException: Could not determine type for: String, for columns:
出错的原因:是因为hbm.xml的配置属性不全,不能只写String,Integer,date 解决的方法是:加上java.lang.String就可以了。原创 2012-02-17 00:00:48 · 1430 阅读 · 0 评论 -
【url】The reference to entity "characterEncoding" must end with the ';' delimiter
数据源配置时加上编码转换格式后出问题了:The reference to entity "characterEncoding" must end with the ';' delimiter这个错误就是 context.xml中设置数据源链接URL的问题 url jdbc:mysql://localhost:3306/bookstore?useUnicode原创 2012-03-31 13:41:22 · 1244 阅读 · 0 评论 -
【hibernate】org.hibernate.MappingException: Unsupported cascade style: save_update
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).log4j:WARN Please initialize the log4j system properly.org.hibernate.MappingException: Unsupported cascade style:原创 2012-02-28 23:17:19 · 4750 阅读 · 0 评论 -
【asm】java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit
环境:Spring2.0 Hibernate3.1.x/Hibernate3.2在使用Spring的AOP编程时,会用到这几个lib:asm-2.2.2.jarasm-commons-2.2.2.jarasm-util-2.2.2.jarHibernate使用如果lib:asm.jarasm-attrs.jar其中asm-2.2.2.jar与asm.原创 2012-04-05 11:00:52 · 2702 阅读 · 0 评论