- 异常信息
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.zhoulp.xxx$Dabc` (although at least one Creator exists): can only instantiate non-static inner class by using default, no-argument constructor
- 解决方法
在内部类加上static关键字,声明为内部静态类即可
来源:oschina
链接:https://my.oschina.net/u/4198095/blog/4292617