betterreads-webapp's People
Forkers
rohitravi26 diegorendon spring-boot-framework hortegar masudjbd trngrover satyam1903 mnuovo roconmachine riyazah18 syedabdullahrahman ak18dec datastax-examples teppi210 sagasthy mkrs2404 szczaw manu90453 sum008 ved-asole kyowanghwe satyam-lki alexbugrimov sumeet0309 md0110 maspni sandeepam5588 miaerbus ahmadbahlwan biswarup-891988 nemanyam kethu2403 sefsef03 ankushthakur27 yasssingeehad ethan166 sandeepparbat kuldeepverma ram2408 sunilkumar-dec vivek6219 rahil-sh vignesh1495 prasanna1157 rishav18 raajcse86 jayapradam nikitalama917 itbereket ltamang977 amebrahimi zsanjay kamranmemmedzade prashanthr036 abhishekravindranhere dsivaraj siddu-m pranshupatel015 nupur1989 binyamhailu janani57 parvezaalam786 aswiniparida3087 sidpatel-github abhilashyerram chandu-aswani yemaneabrha isack-321 trantuananh1 adi-adi-adi datastaxdevs brcgit1985 krush1806 shubhayansaha sreekarjella talk2viren swathygns ajaykumar99311 muralidharan-rade hmcyrus puravudaydesai venkateshprasad0 jrnet001 srinivasbellarichenna zahangir0cse shubh7482 bobbyzoro saurabhm24 igrapel eknathkadam gritmurph omkarmaidkar davidbaro nikhilniky jiaanzzz praveentripathideloitte dev514 t4pusd kiran-yakkala cuibaps1betterreads-webapp's Issues
Tokens/passwords in application.yml file
Are the tokens and user/password combinations left in the application.yml file on purpose?
Seems like not the way to do this to be honest.
I'm getting this error while starting data loader application , I'v done all config and code in video 8 https://www.youtube.com/watch?v=uezZIPK8kPk&list=PLJ5_m4Y8xLkkxfo2Z1Lb0qjXnAZqIWCCZ&index=8
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
٢٠٢٢-٠٧-٠٤ ١٩:١٠:١٥.٨١٥ ERROR 12676 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
The dependencies of some of the beans in the application context form a cycle:
┌─────┐
| betterReadDataLoaderApplication (field io.betterRead.author.AuthorRepository io.betterRead.BetterReadDataLoaderApplication.authorRepository)
↑ ↓
| authorRepository defined in io.betterRead.author.AuthorRepository defined in @EnableCassandraRepositories declared on CassandraRepositoriesRegistrar.EnableCassandraRepositoriesConfiguration
↑ ↓
| org.springframework.boot.autoconfigure.data.cassandra.CassandraDataAutoConfiguration
↑ ↓
| cassandraSession defined in class path resource [org/springframework/boot/autoconfigure/cassandra/CassandraAutoConfiguration.class]
↑ ↓
| cassandraSessionBuilder defined in class path resource [org/springframework/boot/autoconfigure/cassandra/CassandraAutoConfiguration.class]
└─────┘
Action:
Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.
Error creating bean with name 'betterReadsDataLoaderApplication': Invocation of init method failed; nested exception is java.lang.NullPointerException
Error creating bean with name 'sessionBuilderCustomizer'
I'm getting this error while starting data loader application , done all the config mentioned in video no 7 - https://www.youtube.com/watch?v=7I37-awpaGg , but still getting this error.
complete stack trace -
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionBuilderCustomizer' defined in com.rc.betterreadsdataloader.BetterReadsDataLoaderApplication: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.cassandra.CqlSessionBuilderCustomizer]: Factory method 'sessionBuilderCustomizer' threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.14.jar:5.3.14]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.14.jar:5.3.14]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730) [spring-boot-2.6.2.jar:2.6.2]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412) [spring-boot-2.6.2.jar:2.6.2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302) [spring-boot-2.6.2.jar:2.6.2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) [spring-boot-2.6.2.jar:2.6.2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290) [spring-boot-2.6.2.jar:2.6.2]
at com.rc.betterreadsdataloader.BetterReadsDataLoaderApplication.main(BetterReadsDataLoaderApplication.java:17) [classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_201]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_201]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_201]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_201]
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-2.6.2.jar:2.6.2]
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.cassandra.CqlSessionBuilderCustomizer]: Factory method 'sessionBuilderCustomizer' threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.14.jar:5.3.14]
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.14.jar:5.3.14]
... 23 common frames omitted
Caused by: java.lang.NullPointerException: null
Code unable to find config.json
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?
Application run failed, Video 12
hI, i've followed this tutorial exactly as it has been shown and when I run my application on minute 26 it fails to run. I've got a few issues:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.data.cassandra.CassandraDataAutoConfiguration'
Suppressed: com.datastax.oss.driver.api.core.auth.AuthenticationException: Authentication error on node
any idea why this is happening?
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.