flink1.18.0报错 an implicit exists from scala.Int => java.lang.Integer, but

完整报错

复制代码
type mismatch;
 found   : Int(100)
 required: Object
Note: an implicit exists from scala.Int => java.lang.Integer, but
methods inherited from Object are rendered ambiguous.  This is to avoid
a blanket implicit which would convert any scala.Int to any AnyRef.
You may wish to use a type ascription: `x: java.lang.Integer`.
    collect(Row.of("-","-","-",100))

对应的错误代码

复制代码
collect(Row.of("-","-","-",Long.box(100)))
相关推荐
卿言卿语5 分钟前
CC23-最长的连续元素序列长度
java·算法·哈希算法
light_forest8 分钟前
tcp_connect_v4接口
java·网络·tcp/ip
JIngJaneIL16 分钟前
助农惠农服务平台|助农服务系统|基于SprinBoot+vue的助农服务系统(源码+数据库+文档)
java·前端·数据库·vue.js·论文·毕设·助农惠农服务平台
Mos_x20 分钟前
使用Docker构建Node.js应用的详细指南
java·后端
Spirit_NKlaus42 分钟前
Springboot自定义配置解密处理器
java·spring boot·后端
龙猫蓝图1 小时前
IDEA新UI设置
java
梅梅绵绵冰1 小时前
SpringAOP的相关概念
java·开发语言
Xiaoyu Wang1 小时前
GC垃圾回收
java·开发语言·jvm
CodeBlossom1 小时前
Spring Cache快速入门
java·数据库·spring
麦烤楽鸡翅1 小时前
挡住洪水 (牛客)
java·数据结构·c++·python·算法·bfs·牛客