flink the type (GenericType<com.xxxx >) cannot be used as key. 亲们出现这种错误是因为你对象没有无参构造方法 ,要注意咯。 加入无参构造就好了 然后就可以正常运行了