flink
江水静流
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
The return type of function ‘main(WordCountToObject.java:28)‘ could not be determined automatically,
java使用lamda表达式,出现类型无法自动识别到报一下异常 在这Exception in thread "main" org.apache.flink.api.common.functions.InvalidTypesException: The return type of function 'main(XXX.java:28)' could not be determined automatically, due to type erasure. You can give type informat原创 2021-11-20 18:52:00 · 1593 阅读 · 0 评论 -
flink的对象作为数据传输的要求
@org.apache.flink.api.common.InvalidProgramException: This type (GenericType<com.flink.learning.plan.TestObject) cannot be used as key.TOC 对于java 的对象要求;属性必须是public 的修饰符,必须添加无参数构造方法 报错之前类对象 public class WorldValueDesc { private String word; //原创 2021-11-20 18:30:19 · 1352 阅读 · 0 评论
分享