From 7ff2206df92a31d78daa28880add41536ca740fc Mon Sep 17 00:00:00 2001 From: "novice.li" Date: Sat, 25 Nov 2023 16:30:09 +0800 Subject: [PATCH] init --- jetbra-server/pom.xml | 4 ++++ .../main/java/win/novice/li/JetbraServerApplication.java | 6 +----- jetbra-server/src/main/resources/public/index.html | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 jetbra-server/src/main/resources/public/index.html diff --git a/jetbra-server/pom.xml b/jetbra-server/pom.xml index 3cf913f..a72ac5f 100644 --- a/jetbra-server/pom.xml +++ b/jetbra-server/pom.xml @@ -23,6 +23,10 @@ org.springframework.boot spring-boot-starter + + org.springframework.boot + spring-boot-starter-web + org.springframework.boot diff --git a/jetbra-server/src/main/java/win/novice/li/JetbraServerApplication.java b/jetbra-server/src/main/java/win/novice/li/JetbraServerApplication.java index 48dc19d..8296813 100644 --- a/jetbra-server/src/main/java/win/novice/li/JetbraServerApplication.java +++ b/jetbra-server/src/main/java/win/novice/li/JetbraServerApplication.java @@ -3,13 +3,9 @@ package win.novice.li; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; -import java.security.InvalidAlgorithmParameterException; -import java.security.cert.PKIXBuilderParameters; -import java.util.HashSet; - @SpringBootApplication public class JetbraServerApplication { - public static void main(String[] args) throws InvalidAlgorithmParameterException { + public static void main(String[] args) { SpringApplication.run(JetbraServerApplication.class,args); } } diff --git a/jetbra-server/src/main/resources/public/index.html b/jetbra-server/src/main/resources/public/index.html new file mode 100644 index 0000000..2fe743e --- /dev/null +++ b/jetbra-server/src/main/resources/public/index.html @@ -0,0 +1,3 @@ + +

hello world

+ \ No newline at end of file