Comments (3)
Do you see any other errors? Could you check your c3p0 configuration - https://github.com/aws/aws-secretsmanager-jdbc
The thing that points me at that direction is "You are getting a java.lang.NoClassDefFoundError which does NOT mean that your class is missing (in that case you'd get a java.lang.ClassNotFoundException). The ClassLoader ran into an error while reading the class definition when trying to read the class." - from https://stackoverflow.com/questions/7325579/java-lang-noclassdeffounderror-could-not-initialize-class-xxx
from aws-secretsmanager-jdbc.
I faced the same issue, however, it turned out because of version mismatch on aws-java-sdk-core
dependency.
When I put the same version for aws-java-sdk-core
and aws-java-sdk-secretsmanager
as it was specified in mvn dependency:tree
, things got resolved.
here was my debugging process:
- Wrote the main method on the same module where I was using these classes.
- Used
Class.forName
method and see what exactly is causing the issue. - It was failing so run
mvn dependency:tree
on the module and found the version mismatch - changed the version and WORKED!!!
from aws-secretsmanager-jdbc.
This commit should resolve your issue: 221472a. Closing this Issue in favor of that commit.
from aws-secretsmanager-jdbc.
Related Issues (20)
- Add support for Snowflake HOT 1
- Support Java 17 HOT 1
- Secret not getting refreshed HOT 10
- Allow means to specify AWS profile other than `default` HOT 1
- JaCoCo added as a non-scoped transitive dependency HOT 1
- Support providing regions/endpoint configuration at connection-time HOT 2
- using MySQL `autoReconnect=true` configuration results in unhandled access denied errors HOT 1
- Add docs on configuring underlying secret cache HOT 3
- Vendor app based on Java running in AWS EKS to connect to RDS Oracle using Secrets Manager HOT 4
- AWSSecretsManagerPostgreSQLDriver incorrectly constructs URL when dbname is missing
- Connection from AWS EKS Fargate to Secrets Manager without using an AWS_ACCESS_KEY. HOT 5
- Springboot - Exception encountered during context initialization HOT 1
- PostgreSQL driver enhancement for addressing Alternating User Rotation with RDS Proxy
- provide option to enforce ssl
- Configurable backup region/failover option HOT 1
- dbInstanceIdentifier property of a Postgres AWS RDS Secret is not read from rds secret HOT 2
- JDBC URL config example is unclear HOT 1
- Vulnerablities in jackson databind and netty (via secrets manager) HOT 1
- No Driver has been registered with name, com.mysql.cj.jdbc.Driver HOT 1
- Could not refresh secret manager Got error Cannot begin a subsegment without an initialized segment when password changed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-secretsmanager-jdbc.