You code works right, but on your screenshot I don't see line like:
Started CouponProjectSpringApplication in 1.935 seconds (JVM running for 2.349)
From my point of view, you application didn't start, I mean command SpringApplication.run(CouponProjectSpringApplication.class, args);
was not executed, or you have issue during startup process, please attach full application log.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…