美文网首页
[工具]IDEA热重启报错

[工具]IDEA热重启报错

作者: Luomeng | 来源:发表于2017-05-10 18:51 被阅读0次

背景

  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.

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

解决

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

相关文章

网友评论

      本文标题:[工具]IDEA热重启报错

      本文链接:https://www.haomeiwen.com/subject/czigtxtx.html