[E:\gzdd\web\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: XXXX, at table: XXX, for columns: [org.hibernate.mapping.Column(XXX)]
@ManyToOne
private XXXX xxxx;
把@块移到get 方法前即可。
@ManyToOne
@JoinColumn(name="xxxx")
@ManyToOne
private XXXX xxxx;
把@块移到get 方法前即可。
@ManyToOne
@JoinColumn(name="xxxx")