美文网首页
springboot 找不到启动类

springboot 找不到启动类

作者: 黑猫警长1122 | 来源:发表于2019-06-26 19:39 被阅读0次

新建了一个springboot项目,启动的时候提示找不到启动类,从控制台mvn install后就可以启动,说明是没有编译。开发过程中发现重启都不会重新编译,最终发现是idea没有开启自动编译配置
setting -> compiler -> build project automatically


image.png

ctrl + shift + a 搜索命令:registry –> 勾选compiler.automake.allow.when.app.running

相关文章

网友评论

      本文标题:springboot 找不到启动类

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