问答详情
源自:5-1 SpringBoot 资源文件属性配置

报错:找不到 'org.fkit.Pojo.Resources'

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2019-09-09 15:07:01.612 ERROR 1436 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   : 


***************************

APPLICATION FAILED TO START

***************************


Description:


Field resources in org.fkit.hellotest.HelloController required a bean of type 'org.fkit.Pojo.Resources' that could not be found.



Action:


Consider defining a bean of type 'org.fkit.Pojo.Resources' in your configuration.


提问者:皮蛋腐乳人 2019-09-09 15:10

个回答

  • 慕粉1708169606
    2019-10-22 17:24:26

    我也报这个错,后来怎么解决的

  • 慕哥3872218
    2019-10-06 15:06:13

    没配好吧