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

bugfix can not find mysql dependency when startup #1686

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Conversation

tomsun28
Copy link
Contributor

What's changed?

due mysql dependency removed in package, system can not found mysql class error when startup.

2024-03-25 15:09:23 ... 3 more
2024-03-25 15:09:23 Caused by: java.lang.NoClassDefFoundError: com/mysql/cj/jdbc/exceptions/CommunicationsException
2024-03-25 15:09:23 at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
2024-03-25 15:09:23 at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3373)
2024-03-25 15:09:23 at java.base/java.lang.Class.getConstructor0(Class.java:3578)
2024-03-25 15:09:23 at java.base/java.lang.Class.getConstructor(Class.java:2271)
2024-03-25 15:09:23 at java.base/java.util.ServiceLoader$1.run(ServiceLoader.java:666)
2024-03-25 15:09:23 at java.base/java.util.ServiceLoader$1.run(ServiceLoader.java:663)
2024-03-25 15:09:23 at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
2024-03-25 15:09:23 at java.base/java.util.Ser

fix: remove the mysql CommunicationsException

Checklist

  • I hereby agree to the terms of the HertzBeat CLA
  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Add or update API

  • I have added the necessary e2e tests and all cases have passed.

Signed-off-by: tomsun28 <tomsun28@outlook.com>
@tomsun28 tomsun28 added this to the 1.5.1 milestone Mar 25, 2024
@tomsun28 tomsun28 requested a review from zqr10159 March 25, 2024 08:33
@zqr10159 zqr10159 merged commit 1d11a97 into master Mar 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants