org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of com.yuxuan.model.Application.applicationInfo
找到
com.yuxuan.model.Application类中的applicationInfo属性,看看和hbm.xml配置是否一致
我写的
List<ApplicationInfo> applicationInfo
而配置是
<set name="applicationInfo">
<key column="applicationId"/>
<one-to-many class="ApplicationInfo"/>
</set>
所以错误