-
Notifications
You must be signed in to change notification settings - Fork 228
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
Server not starting up. #1
Comments
Hi Vaibhav, adding the following bean in ResourceServerConfig will solve the issue
|
Hi Rajesh, I have tried adding this particular code in ResourceServerConfig. but i am getting this exception. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationServerConfig': Unsatisfied dependency expressed through field 'authenticationManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'resourceServerConfig': Unsatisfied dependency expressed through field 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Requested bean is currently in creation: Is there an unresolvable circular reference? |
Hi Vaibhav, I think the following link helps. @lazy worked for me. |
Thanks for the reply. The issue has been resolved. Can you help/redirect me on how to make the DB entries for table 'oauth_client_token' |
Hi Rajesh, Thanks for the solution, @lazy worked for me. Now when i hit the client url, it shows the link "Login to Oauth here", but when i click on that link i am getting Oauth exception.. oauth> Can you please help me on this. |
Same issue on here, Need Help on this. when i hit the client url, it shows the link "Login to Oauth here", but when i click on that link i am getting Oauth exception.. oauth> Regards, |
Nice Tutorial i am getting issue while starting the Application>>>> Below is the log:::::::::::::::::::::::::::::::::: 2019-11-06 16:45:21.268 INFO 17972 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationServerConfig': Unsatisfied dependency expressed through field 'authenticationManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.authentication.AuthenticationManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} |
Hi krishnacp04, |
Thanks for the great tutorial. It's been a great help!! Thanks a lot.
Following is the log
The text was updated successfully, but these errors were encountered: