idea2019

spring boot

  1:启动main方法,输出  “找不到或无法加载主类.....”

idea spring boot 找不到主类 idea找不到springboot启动类_spring

 

 

 

idea spring boot 找不到主类 idea找不到springboot启动类_再启动_02

 

 查看target的编译内容

发现缺少class文件

 

解决办法:clean -> package -> 然后再启动

idea spring boot 找不到主类 idea找不到springboot启动类_再启动_03