java开发测试小结

1. idea 启动加载配置文件 

programe arguements 指定 : spring.profiles.active=dev 

spring boot  active profiles  写test(env) 

2. 定时任务的class 启动没有执行 使用 @Component 

3.开发完代码自动编译

compiler-- build project automatically 

(非 running 和debug的情况) 

猜你喜欢

转载自www.cnblogs.com/lavin/p/12694502.html