关于v1.29.2 版本的Maxwell存在于mysql8.0后版本部分源码字符集处理确实问题

1. 先去GitHub下载源码.zip文件2.

找到上图中的这个

StringColumnDef.java 做如下修改

eg:

3.然后是pom文件部分的修改:

将这个org.jgroups的版本降低到0.5.2.Final 

然后再去注释掉一个类的引用:

MaxwellHA.java

3.1 还可以不用降低这个org.jgroups组件类,就是去升级jdk到11也行

4.如果你在打包时报:因为项目没有写test,导致打包test检测出错

There are test failures.  

Please refer to XXX\target\surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.

那就再pom文件中加上:跳过测试即可

<build>
    <plugins>
          <!-- maven 打包时跳过测试 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skip>true</skip>
                </configuration>
            </plugin>
      </plugins>
</build>

ok.... 至此就可以打包上传了

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-21 11:50:03       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-21 11:50:03       106 阅读
  3. 在Django里面运行非项目文件

    2024-03-21 11:50:03       87 阅读
  4. Python语言-面向对象

    2024-03-21 11:50:03       96 阅读

热门阅读

  1. Day 24 回溯算法01

    2024-03-21 11:50:03       36 阅读
  2. git 删除所有的 commit message 信息

    2024-03-21 11:50:03       41 阅读
  3. 使用EasyExcel校验表头各字段的类型

    2024-03-21 11:50:03       47 阅读
  4. C# winform的双向数据绑定

    2024-03-21 11:50:03       43 阅读
  5. chatgpt正面案例合集

    2024-03-21 11:50:03       39 阅读
  6. 【力扣】189.轮转数组

    2024-03-21 11:50:03       43 阅读
  7. 【Spring Boot 3】【YAML】读取YAML文件

    2024-03-21 11:50:03       44 阅读
  8. React 的 diff 算法

    2024-03-21 11:50:03       43 阅读
  9. Linux部署SVN

    2024-03-21 11:50:03       44 阅读
  10. 机器学习基础总结(核心理论和实践应用)

    2024-03-21 11:50:03       34 阅读
  11. 邮箱的正则表达式

    2024-03-21 11:50:03       36 阅读