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

Code unable to find config.json #8

Open
bkmulusew opened this issue Jun 29, 2023 · 0 comments
Open

Code unable to find config.json #8

bkmulusew opened this issue Jun 29, 2023 · 0 comments

Comments

@bkmulusew
Copy link

Hello @koushikkothagal, I hope you're doing well. I tried running your repo, and I'm getting the following error:

Exception in thread "main" java.lang.IllegalStateException: Invalid bundle: missing file config.json
at com.datastax.oss.driver.internal.core.config.cloud.CloudConfigFactory.createCloudConfig(CloudConfigFactory.java:114)
at com.datastax.oss.driver.api.core.session.SessionBuilder.buildDefaultSessionAsync(SessionBuilder.java:876)
at com.datastax.oss.driver.api.core.session.SessionBuilder.buildAsync(SessionBuilder.java:817)
at com.datastax.oss.driver.api.core.session.SessionBuilder.build(SessionBuilder.java:835)
at com.telusko.AstraJavaDemo.ConnectDatabase.main(ConnectDatabase.java:16)

I also followed the exact same documentation given in the DataStax website, but I couldn't resolve the issue. Any ideas what could cause this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant