在获取属性期间自动创建对象 - mybatis

时间:2016-11-29 10:56:46

标签: java spring mybatis

我正在使用mybatis和spring-boot。

  ViewCompat.postOnAnimation(coordinatorLayout, new Runnable() {
            @Override
            public void run() {
                ViewCompat.postInvalidateOnAnimation(coordinatorLayout);
            }
        });

它抛出了例外:

  

实例化类模型时出错.A $嵌套了无效类型()或   values()。原因:java.lang.NoSuchMethodException:   models.A $ NestedClass。()

如何强制mybatis使用默认构造函数构造对象nestedClass?

0 个答案:

没有答案