coderabbit214 / bibliothecarius

Quickly build services to integrate your local data and AI models.
MIT License
458 stars 79 forks source link

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resultExceptionHandler': Injection of autowired dependencies failed #8

Open sunshineyg2018 opened 1 year ago

sunshineyg2018 commented 1 year ago

这个问题怎么解决。是因为配置吗

ddouworld commented 1 year ago

这个问题是因为你运行jar包的路径不对,运行路径下要有配置文件,或者是你的配置文件名字没改。要改成application.yaml。中间的example要删掉