Last active
September 25, 2020 03:14
-
-
Save linux-china/002a31c55fddb100ddb037f51ba88d03 to your computer and use it in GitHub Desktop.
Simple Spring Boot App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//usr/bin/env jbang "$0" "$@" ; exit $? | |
//DEPS org.springframework.boot:spring-boot-starter:2.3.4.RELEASE | |
package demo; | |
import org.springframework.boot.CommandLineRunner; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
@SpringBootApplication | |
public class Application implements CommandLineRunner { | |
public static void main(String[] args) { | |
SpringApplication.run(Application.class, args); | |
} | |
@Override | |
public void run(String... args) throws Exception { | |
System.out.println("This is a Test>>>>"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment