解决方案 »

  1.   

    检查以下属性的setter方法,重点是参数类型,方法名称
    MixedBean 
    numb01
      

  2.   

    估计你的numb01的set方法写错了!
    用eclipse自动生成!
      

  3.   

    你的MixedBean中有两个属性  numb01和numb02   但是你只有get方法没有set方法,所以报错了
    public int getNumb01() {
    return numb01;
    }
    /**
     * @return the numb02
     */
    public int getNumb02() {
    return numb02;
    }
    这就是错误原因Bean property 'numb01' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?