当前位置:网站首页>【解决异常】Flink上传jar包至集群环境运行报未序列化异常
【解决异常】Flink上传jar包至集群环境运行报未序列化异常
2022-07-23 09:46:00 【没有BUG就是最大的BUG】
这个坑卡了我一天,尝试了各种方法终于解决了!!!
原因是因为打包方式出现了问题,不能用maven默认的打包方式,pom中需要引入以下代码
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.MysqlToHiveSqlProp</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>边栏推荐
- supervisord安装使用
- [software test] MQ abnormal test encountered in disk-to-disk work
- 生成订单号
- LZ77 file compression
- Kettle实现共享数据库连接及插入更新组件实例
- [record of question brushing] 19. Delete the penultimate node of the linked list
- 【无标题】
- cmake笔记
- Program design of dot matrix Chinese character display of basic 51 single chip microcomputer
- Using shell script to block IP with high scanning frequency
猜你喜欢

【测试平台开发】二十、完成编辑页发送接口请求功能

【无标题】

【测试平台开发】21. 完成发送接口请求显示响应头信息

Live classroom system 03 supplement model class and entity

LZ77 file compression

【无标题】测试【无标题】测试

What is per title encoding?

The win11 installation system prompts that VirtualBox is incompatible and needs to uninstall the solution of virtual, but the uninstall list cannot find the solution of virtual

Which is a good fixed asset management system? What are the fixed asset management platforms?

Deep learning single image 3D face reconstruction
随机推荐
[test platform development] XVII. The interface editing page realizes the drop-down cascade selection, and binds the module to which the interface belongs
21 - 二叉树的垂直遍历
Is online handling of fund account opening safe? Who can answer it
Linux scheduled database backup script
String function of MySQL function summary
微信官方出品!小程序自动化框架 minium 分享预告
After using vscode to format the code, save and find that the code is messy again. What should I do? Vs remove formatting
Detailed tutorial of typora drawing bed configuration
头部姿态估计原理及可视化_loveliuzz的博客-程序员宅基地_头部姿态估计
直播课堂系统02-搭建项目环境
[applet automation minium] III. element positioning - use of wxss selector
APtos 简介及机制
The accuracy of digital addition
js判断元素是否到滚动到顶部
Map structure stored in the room of jetpack series
C语言入门实战(11):输入一组正整数,求逆序数的和
What methods are called behind the use of objects
cmake笔记
Redis | 非常重要的中间件
基本51单片机点阵汉字显示程序设计