-
Notifications
You must be signed in to change notification settings - Fork 69
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
Java springboot application fails to connect to Valkey Cache using GLIDE #2990
Comments
@yipin-chen @Yury-Fridlyand |
This looks like as if the |
Hi |
Here are the dependencies added in build.gradle
|
@yipin-chen The log which I added after creating config, prints below:
Then this line (
|
Can you post your full list of dependencies please and sprint boot config if possible? I'm curious if something has a conflict with GLIDE's resourses (native lib). Unfortunately, we cannot reproduce the issue with a sample spring boot app that we have. |
Hello, Here are all the dependencies of my project. `dependencies {
}` |
I also noticed that I get below exception, the very first time I call the api after server restart.
From second time onwards, it gives below exception.
|
Oh, that's very interesting. Could you verify please that you have Thanks, that info could be very helpful! Those are dependencies of GLIDE native components:
|
Thanks Yury. I have macOS Sequoia 15.0. How do I check if I have libgcc_s ? When I try |
I called a colleague with a mac to help there. |
@alekhya538 if homebrew wasn't involved I believe you can still try to locate the file in the GCC library directory by using the |
@Yury-Fridlyand I have Apple M3. |
@alekhya538 Then in you Which IDE do you use? If Please let me know if it helped! In the next release we will validate we release both for macOS 14 and both newer. |
As I found, |
I checked on mine, and it was under brew. I didn't install it directly, but i assume it came with one of the packages. |
Hello,
We are trying to connect to AWS Valkey Cache (Serverless) from java springboot application (JDK17, springboot-version: 3.2.5).
Trying to use GLIDE as java client to connect to Cache and do Read/Write.
Here is the example code which I got from https://github.com/valkey-io/valkey-glide/blob/main/java/README.md.
Above code example is failing at line 'GlideClient client = GlideClient.createClient(config).get();'
Getting below error:
java.lang.NoClassDefFoundError: Could not initialize class glide.ffi.resolvers.SocketListenerResolver
Can anyone help how to fix this ?
The text was updated successfully, but these errors were encountered: