Could not find action or result: /bos_fore/order_add.action

Caused by: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing :

cn.itcast.bos.domain.take_delivery.WayBill.order -> cn.itcast.bos.domain.take_delivery.Order

 

-----

感觉会经常遇到这种问题,这种问题一般出现的原因:

1:action配置路径出错

2:input没有配置

3:页面和后台接收的属性字段或者页面填写的属性和字段名属性不一致(比如字段属性是Integer属性,但是页面填的是string)名不一致(此种原因最多)

posted @ 2017-08-21 13:42  Lucia557  阅读(632)  评论(0编辑  收藏  举报