这个错误是出在哪里?是实体层有问题吗

Error creating bean with name 'basDictAction' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'basDictService' while setting bean property 'basDictService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basDictService' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'basDictDao' while setting bean property 'basdictdao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basDictDao' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: com.hr.entity.CstCustomer column: cust_level (should be mapped with insert="false" update="false")

1个回答

看报错提示像是这样子

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐