org.springframework.beans.factory.UnsatisfiedDependencyException.消息:创建名为“authenticationTokenFilterBean”的bean:期望至少有一个bean,它可以作为自动选择。Field tokenUtils in com.sbvtransport.sbvtransport.security.AuthenticationTokenFilter required a beanorg.springframework.boot.autoconfigur
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying beanof type [com.uk.jacob.adapter.HttpAdapter] found for dependency: expected at least 1 bean which qualifies
我有3个java文件:customer,customerRepository,springbootapplication,当它们位于这样的文件夹下时
它们可以使用无错误,插入操作是成功的。但如果我把它们分散到像这样的3个文件夹里他们不能运行失败,错误
org.springframework.beans.factory.BeanCreationException: Errorcreating bean with name 'springbootjpaApplication': Injection of a