摘要: XML的格式如下: <Data> <User Count="2"> <User> <P>2017-01-31</P> <A1>A</A1> <A2>B</A2> </User> <User> <P>2017-01-31</P> <A1>A</A1> <A2>B</A2> </User> </Data 阅读全文
posted @ 2017-03-03 14:39 Dobic 阅读(280) 评论(0) 推荐(0) 编辑
摘要: SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springfram 阅读全文
posted @ 2016-04-18 10:11 Dobic 阅读(192) 评论(0) 推荐(0) 编辑
摘要: SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springfram 阅读全文
posted @ 2016-04-18 10:09 Dobic 阅读(755) 评论(0) 推荐(0) 编辑
摘要: ERROR:Unable to instantiate Action, regAction, defined for 'register' in namespace '/'regAction - action - file:/C:/****/Documents/workspace-sts-3.5.1 阅读全文
posted @ 2016-04-18 10:06 Dobic 阅读(889) 评论(0) 推荐(0) 编辑
摘要: SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springfram 阅读全文
posted @ 2016-04-18 10:00 Dobic 阅读(215) 评论(0) 推荐(0) 编辑
摘要: ERROR:org.hibernate.hql.internal.ast.QuerySyntaxException: user is not mapped [from user] 错误信息:user不匹配 原因:hql语句有误。“from User" User是映射数据库里面表的类名,不是数据库的表 阅读全文
posted @ 2016-04-18 09:56 Dobic 阅读(203) 评论(0) 推荐(0) 编辑
摘要: ERROR:java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to com.SSH.beans.User] 错误信息:查询返回的类的类型不匹配 sql语句和hql语句用混了 String sql="select * fr 阅读全文
posted @ 2016-04-18 09:53 Dobic 阅读(217) 评论(0) 推荐(0) 编辑
摘要: ERROR:java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to com.SSH.beans.User] ERROR:java.lang.ClassCastException: [Ljava.lang.Object;  阅读全文
posted @ 2016-04-18 09:50 Dobic 阅读(629) 评论(0) 推荐(0) 编辑
摘要: ERROR:Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister 错误信息:class不能和数据库中的表映射; 1.检查***.hbm.xml的配置是否正常,class的属性是否 阅读全文
posted @ 2016-04-18 09:48 Dobic 阅读(2645) 评论(0) 推荐(0) 编辑