Struts Problem Report
Struts have detected an unhandled exception:
Messages:
- There is no getter for property named ' Fundid ' in ' Class Java.lang.Integer '
- Nested exception is Org.apache.ibatis.reflection.ReflectionException:There are no getter for property named ' Fundid ' in ' C Lass Java.lang.Integer '
Stacktraces
Org.mybatis.spring.MyBatisSystemException:nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ' Fundid ' in ' Class Java.lang.Integer '
Change the error:
in MyBatis Mapper.java, it is normal for a single parameter or entity to pass in without adding:@Param ("Fundid")
But if there's a mapper.xml,
<test= "fundid!=0">and i.fundid = #{fundid} </if>
Such a judgment, it must be in the Mapper.java when the parameter is added: @Param ("Fundid").
It is estimated that Mapper.xml configuration information must be injected in an annotated manner.
Org.apache.ibatis.reflection.ReflectionException:There is no getter for property named ' Fundid ' in ' class Java.lang.Inte Ger