控制台报的错:java.lang.IllegalArgumentException;
网页上报的错
org.springframework.orm.hibernate3.HibernateSystemException: IllegalArgumentException occurred while calling setter of com.guomai.lx.vo.LX.xwid; nested exception is org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of com.guomai.lx.vo.LX.xwid
网页上报的错
org.springframework.orm.hibernate3.HibernateSystemException: IllegalArgumentException occurred while calling setter of com.guomai.lx.vo.LX.xwid; nested exception is org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of com.guomai.lx.vo.LX.xwid
setter方法有问题吧?
我每回添加的时候就报这个错误
<class name="com.guomai.lx.vo.LX" table="LX">
<id name="xwid" column="xwid">
<!-- native Assigned increment identity uuid.hex uuid.string foreign -->
<generator class="uuid.hex"/>
</id>
<property name="biaoti" column="biaoti" />
<property name="yedizhi" column="yedizhi"/>
<property name="qlj" column="qlj"/>
<property name="time" column="time"/>
<property name="neirong" column="neirong"/>
</class>
</hibernate-mapping>这个是实体的配置文件