[工具]IDEA热重启报错

2017-05-10  本文已影响0人  Luomeng

背景

  1. 使用spring-boot-devtools
  2. 打开IDEA的自动build。
  3. 勾选compiler.automake.allow.when.app.running

问题

本来是想要打开IDEA下spring boot的热重启的,但是,修改了代码,程序自动重启,提示:

***************************
APPLICATION FAILED TO START
***************************

Description:

Field sendEmailService in com.xxx.wechat.controller.HelloController required a bean of type 'com.xxx.wechat.service.SendEmailService' that could not be found.


Action:

Consider defining a bean of type 'com.xxx.wechat.service.SendEmailService' in your configuration.

居然提示类找不到,可是我是正常启动了,然后修改了一行代码呀,不能够啊。

解决

随机出现,还在排查原因中……

上一篇 下一篇

猜你喜欢

热点阅读