Exception in thread "main" org.springframework.orm.hibernate3.HibernateSystemException: IllegalArgumentException occurred calling getter of stake.out.entry.FileData.id; nested exception is org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of stake.out.entry.FileData.id
Caused by: org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of stake.out.entry.FileData.idCaused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:169)
... 35 more
Caused by: org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of stake.out.entry.FileData.idCaused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:169)
... 35 more
解决方案 »
- hibernate3.6注解的问题
- 疑问...请教,在线等
- NIIT在线考试第四个学期 mvc4 试题和答案行
- 多个开源系统的单点登录和权限管理问题,需企业级可用的
- 问:Struts2.0 关于重定向的问题
- java数据问题,请帮帮忙啊,很急。。
- struts2怎么老出错
- google checkout 紧急求助
- 各位大哥帮帮我吧?请问JMS用到的包放在哪个文件夹下,用tomcat可以作为服务器嘛?我的分数不够,下次再给
- struts连接数据库的问题
- class path resource [log4j.xml] cannot be resolved to URL because it does not ex
- ssh问题
你检查一下
java.lang.IllegalArgumentException:
<set name="fileData"
table="sys_file"
inverse="true"
cascade="save-update">
<key column="sys_id"/>
<many-to-many class="stake.out.entry.JSystem"
column="f_id"/>
</set>
<set name="systems"
table="sys_file"
cascade="save-update">
<key column="f_id"/>
<many-to-many class="stake.out.entry.FileData"
column="sys_id"/>
</set>