码迷,mamicode.com
首页 > 其他好文 > 详细

BeanCreationException: Error creating bean with name 'classPathFileSystemWatcher'之解决办法

时间:2019-12-01 20:34:33      阅读:99      评论:0      收藏:0      [点我收藏+]

标签:eating   led   clu   tools   color   with   ror   classpath   配置   

错误关键信息:

BeanCreationException: Error creating bean with name classPathFileSystemWatcher

错误原因:
Idea不支持热加载,application-test.yml中的热加载配置去除后,就能正常启动了,对应的服务也能正常访问。

解决办法:
去除热加载中的代码配置,如可修改为这样:

devtools:
      restart:
         enabled: true
#        additional-paths: src/main/java
         execlude: test/**

 

BeanCreationException: Error creating bean with name 'classPathFileSystemWatcher'之解决办法

标签:eating   led   clu   tools   color   with   ror   classpath   配置   

原文地址:https://www.cnblogs.com/youcong/p/11967297.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!