Open cabbage89 opened 4 years ago
davinci_1 | 2020-05-08 10:13:05.082 INFO 27 --- [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/api/v3/login'], []
davinci_1 | in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' available
davinci_1 | 2020-05-08 10:13:05.121 WARN 27 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Beaninstantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' available
davinci_1 | 2020-05-08 10:13:05.128 INFO 27 --- [main] o.s.s.quartz.SchedulerFactoryBean : Shutting down Quartz Scheduler
davinci_1 | 2020-05-08 10:13:05.128 INFO 27 --- [main] org.quartz.core.QuartzScheduler : Scheduler schedulerFactoryBean_$_NON_CLUSTERED shutting down.
davinci_1 | 2020-05-08 10:13:05.128 INFO 27 --- [main] org.quartz.core.QuartzScheduler : Scheduler schedulerFactoryBean_$_NON_CLUSTERED paused.
davinci_1 | 2020-05-08 10:13:05.129 INFO 27 --- [main] org.quartz.core.QuartzScheduler : Scheduler schedulerFactoryBean_$_NON_CLUSTERED shutdown complete.
davinci_1 | 2020-05-08 10:13:05.141 INFO 27 --- [main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed
davinci_1 | 2020-05-08 10:13:05.147 INFO 27 --- [main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
davinci_1 | 2020-05-08 10:13:05.177 INFO 27 --- [main] ConditionEvaluationReportLoggingListener :
davinci_1 |
davinci_1 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
davinci_1 | figuration.
davinci_1 |
davinci_1 | 2020-05-08 10:13:05.386 ERROR 27 --- [main] o.s.b.d.LoggingFailureAnalysisReporter :
davinci_1 |
davinci_1 | ***************************
davinci_1 | APPLICATION FAILED TO START
davinci_1 | ***************************
davinci_1 |
davinci_1 | Description:
davinci_1 |
davinci_1 | Method springSecurityFilterChain in org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration required a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' that could not be found.
davinci_1 | - Bean method 'clientRegistrationRepository' not loaded because OAuth2 Clients Configured Condition registered clients is not available
davinci_1 |
davinci_1 |
davinci_1 | Action:
davinci_1 |
davinci_1 | Consider revisiting the entries above or defining a bean of type 'org.springframework.security.oauth2.client.registration.ClientRegistrationRepository' in your configuration.
davinci_1 |
运行失败
需要修改docker-compose.yml的拿下文件才能启动edp963/davinci:v0.3.0-beta.10.pre
什么叫“拿下文件”?
基于davinci当前开发分支构建的镜像 ,在docker-compose.yml中修改为 edp963/davinci:v0.3.0-beta.10.pre 可以体验新特性: 1.oauth2登录支持 2.sqlserver druid卡死的bug