不知道大家有没有和我遇到同样的问题就是spring boot的启动类中的run报红如上图所示那么怎么解决呢请看下图 是SpringApplication,而不是SpringBootApplication