ssh框架
文章平均质量分 71
wild__code_man_
这个作者很懒,什么都没留下…
展开
-
ssh框架: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException:
实体类跟表的映射文件ID列不匹配。实体类 映射文件 数据库表字段。没有匹配,检查名字是否一样。原创 2017-08-01 15:32:02 · 9475 阅读 · 2 评论 -
ssh
IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.itcast.shop.category.vo.Categoryjava.io.WriteAbortedException: wri原创 2017-08-05 08:46:56 · 176 阅读 · 0 评论 -
ssh框架:
ERROR Dispatcher:38 - Exception occurred during processing request: Unable to instantiate Action, cartAction, defined for 'cart_addCart' in namespace '/'Error creating bean with name 'cartAction' def原创 2017-08-04 22:23:36 · 352 阅读 · 0 评论 -
ssh框架
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productService' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested e原创 2017-08-06 18:09:47 · 273 阅读 · 0 评论 -
Exception occurred during processing request: attempt to create saveOrUpdate event with null entity
2018-01-21 13:04:07,029 22883 [bio-8080-exec-1] ERROR .DefaultDispatcherErrorHandler - Exception occurred during processing request: attempt to create saveOrUpdate event with null entityjava.lang.原创 2018-01-21 13:14:38 · 1180 阅读 · 0 评论 -
java.lang.IllegalArgumentException: id to load is required for loading
2018-01-22 10:56:53,385 99516 [bio-8080-exec-4] ERROR .DefaultDispatcherErrorHandler - Exception occurred during processing request: id to load is required for loadingjava.lang.IllegalArgumentExce原创 2018-01-22 11:12:08 · 2201 阅读 · 0 评论 -
struts2属性驱动应用
前端页面无法获取parentId值。页面使用,获得值栈如图:值栈中未压入parentId。debug调试发现parentId已经赋值。parentId采用属性驱动方式传入前端页面,但是前端并未获取到,也就是说parentId属性未压入值栈。可以断定后端缺少压入值栈的方法。分析代码发现Action类中缺少了getter方法加入get方法后,问题解决。原创 2018-01-23 19:23:48 · 140 阅读 · 0 评论 -
ssh框架原理及工作流程
Hibernate工作原理及为什么要用?原理:1.通过Configuration().configure();读取并解析hibernate.cfg.xml配置文件2.由hibernate.cfg.xml中的读取并解析映射信息3.通过config.buildSessionFactory();//创建SessionFactory4.sessionFactory.openSe转载 2018-01-28 18:45:59 · 2480 阅读 · 0 评论