Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The Jetty server fails to start when compiled with JDK 8 but runtime version is JDK 11. #1066

Closed
3 tasks done
qijiale76 opened this issue Aug 2, 2023 · 0 comments · Fixed by #1067
Closed
3 tasks done

Comments

@qijiale76
Copy link
Contributor

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the bug

ref: https://openjdk.org/jeps/320
The reason is that java 11 removes java.activation

Affects Version(s)

master

Uniffle Server Log Output

[WARN] 2023-08-01 05:07:10,464 Jetty-8 ServletHandler doHandle - Error for /prometheus/metrics/server
java.lang.NoClassDefFoundError: javax/activation/DataSource
......
Caused by: java.langClassNotFoundException: javax.activation.DataSource
......

Uniffle Engine Log Output

No response

Uniffle Server Configurations

No response

Uniffle Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
jerqi pushed a commit that referenced this issue Aug 5, 2023
… but runtime version is JDK 11. (#1067)

### What changes were proposed in this pull request?
Add the JDK 11 removed jar package.

### Why are the changes needed?

Fix:  #1066

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?

Tested in our cluster.

Co-authored-by:  qijiale001@ke.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant