在编写主服务启动时,run一直红,运行时出现,java:找不到符号run。想求一个稍微详细一点的解决方法
你这里应该是 SpringApplication.run 而不是 SpringBootApplication.run