菠萝Sir

日记簿

文章

1111

1 2/** 3 4* SprintBootApplication 5 */ 6 @Slf4j 7 @SpringBootApplication 8 @EnableCaching 9 public class BootApplication { 10 11 public static void main(String[] args) { 12 ApplicationContext context = SpringApplication.run(BootApplication.class, args); 13 String serverPort = context.getEnvironment().getProperty("server.port"); 14 log.info("mblog started at http://localhost:" + serverPort); 15 } 16 17} 18 1 2 3 4 5

日记簿

© 2022 菠萝Sir

Powered by Bolo
Theme bolo-sakura by Mashiro
浏览 19228 文章 19 评论 49

主题 | Theme