Java & 关于不推荐在循环中使用线程休眠的问题

Java & 关于不推荐在循环中使用线程休眠的问题

ssscccche:

非常感谢你的博客,我前天遇到了这个问题,但是我的异常中没有提示seata相关内容,只提示了Error creating bean with name 'scopedTarget.clientDetailsService' defined in org.springframework.security.oauth2.config.annotation.configuration.ClientDetailsServiceConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.provider.ClientDetailsService]: Factory method 'clientDetailsService' threw exception; nested exception is java.lang.UnsupportedOperationException: Cannot build client services (maybe use inMemory() or jdbc()).

我毫无头绪的查了30小时,完全不知道该怎么解决了,然后无意中看到了你这个博客,我立刻将seata自动加载屏蔽了,发现问题不出现了,可以确认是seata和oauth2冲突导致的问题,非常非常感谢你的分享,如果没看到你的文章,我大概率不会想到是因为seata冲突导致

相关探索