grain-Edu-Note part21 Idea yml 没有代码提示

it2023-05-17  72

一般情况的处理,网上可以搜到很多,这里记录一下个人遇到的情形解决。

File Type 设定配置

写好启动类(必须)

@SpringBootApplication @ComponentScan({"com.ezerbel.grain"}) @EnableDiscoveryClient @EnableFeignClients public class ServiceCmsApplication { public static void main(String[] args) { SpringApplication.run(ServiceCmsApplication.class,args); } }

将Resources置为资源文件(必须)

如果Idea不抽风则会自动添加

最新回复(0)