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)))
相关推荐
SimonKing几秒前
SpringBoot集成:5分钟实现HTML转PDF功能
java·后端·程序员
wuxuanok12 分钟前
苍穹外卖 —— 公共字段填充
java·开发语言·spring boot·spring·mybatis
串串店藕片打孔员41 分钟前
把List<T>构建一颗树封装工具类
java
笨蛋少年派1 小时前
HDFS简介
大数据·hadoop·hdfs
用户0332126663671 小时前
自动创建 Word 文档——Java 实现
java
Cikiss1 小时前
图解 bulkProcessor(调度器 + bulkAsync() + Semaphore)
java·分布式·后端·elasticsearch·搜索引擎
zskj_qcxjqr1 小时前
数字大健康浪潮下:智能设备重构人力生态,传统技艺如何新生?
大数据·人工智能·科技·机器人
LL_break1 小时前
线程1——javaEE 附面题
java·开发语言·面试·java-ee
王中阳Go1 小时前
面试官:“聊聊最复杂的项目?”90%的人开口就凉!我面过最牛的回答,就三句话
java·后端·面试
玉衡子1 小时前
一、Java类加载机制
java