chunjun icon indicating copy to clipboard operation
chunjun copied to clipboard

Build error with openjdk 8

Open zhanghaiyang9999 opened this issue 2 years ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

java -version openjdk version "1.8.0_162" OpenJDK Runtime Environment (build 1.8.0_162-8u162-b12-1-b12) OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)

build error: [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:14 min [INFO] Finished at: 2023-12-13T20:18:17+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project chunjun-core: Compilation failure [ERROR] /root/work/chunjun/chunjun-core/src/main/java/com/dtstack/chunjun/metrics/RowSizeCalculator.java:[28,37] cannot find symbol [ERROR] symbol: class ObjectSizeCalculator [ERROR] location: package jdk.nashorn.internal.ir.debug [ERROR]

What you expected to happen

build successfully

How to reproduce

./mvnw clean package

Anything else

No response

Version

master

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

zhanghaiyang9999 avatar Dec 13 '23 14:12 zhanghaiyang9999

openjdk version "11.0.24" 2024-07-16 OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu320.04)

still failed on master 707e4614f31c7747bdca0778128f502d72227d67

image

westfly avatar Sep 27 '24 08:09 westfly

jdk版本不支持

yanghuaiGit avatar Nov 05 '25 02:11 yanghuaiGit