diff --git a/untitled2/.idea/.gitignore b/untitled2/.idea/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..73f69e0958611ac6e00bde95641f6699030ad235 --- /dev/null +++ b/untitled2/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/untitled2/.idea/compiler.xml b/untitled2/.idea/compiler.xml new file mode 100644 index 0000000000000000000000000000000000000000..0a697b762c21b237d77d83ac487a0dbdfb132734 --- /dev/null +++ b/untitled2/.idea/compiler.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/untitled2/.idea/encodings.xml b/untitled2/.idea/encodings.xml new file mode 100644 index 0000000000000000000000000000000000000000..63e900193296f8ed911a1b9f5b051cf908099431 --- /dev/null +++ b/untitled2/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/untitled2/.idea/jarRepositories.xml b/untitled2/.idea/jarRepositories.xml new file mode 100644 index 0000000000000000000000000000000000000000..abb532ab355ddfa5ec01bd4393fcda38f88224b0 --- /dev/null +++ b/untitled2/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/untitled2/.idea/misc.xml b/untitled2/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..f255073d89375d9a87b1556fc30273a7f06d9048 --- /dev/null +++ b/untitled2/.idea/misc.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/untitled2/.idea/runConfigurations.xml b/untitled2/.idea/runConfigurations.xml new file mode 100644 index 0000000000000000000000000000000000000000..797acea53eb091cf5b30518802c3073f544adeed --- /dev/null +++ b/untitled2/.idea/runConfigurations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/untitled2/pom.xml b/untitled2/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..5c0f39721decf4764604076a4e61f172a785c54c --- /dev/null +++ b/untitled2/pom.xml @@ -0,0 +1,30 @@ + + + 4.0.0 + + org.example + untitled2 + 1.0-SNAPSHOT + + + 8 + 8 + + + org.springframework.boot + spring-boot-starter-parent + 2.7.1 + + + + + org.example + untitled2 + 1.0-SNAPSHOT + test + + + + \ No newline at end of file diff --git a/untitled2/src/main/java/com/hao/App.java b/untitled2/src/main/java/com/hao/App.java new file mode 100644 index 0000000000000000000000000000000000000000..ba3f33be46c7a58d5a5ed8296b2a9156f2081ba9 --- /dev/null +++ b/untitled2/src/main/java/com/hao/App.java @@ -0,0 +1,11 @@ +package com.hao; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class App { + public static void main(String [] args){ + SpringApplication.run(App.class,args); + } +} \ No newline at end of file diff --git a/untitled2/src/main/java/com/hao/Controller/HelloWorldController.java b/untitled2/src/main/java/com/hao/Controller/HelloWorldController.java new file mode 100644 index 0000000000000000000000000000000000000000..0f1e40f49ebea60e62433847bf78f9185d82c91a --- /dev/null +++ b/untitled2/src/main/java/com/hao/Controller/HelloWorldController.java @@ -0,0 +1,12 @@ +package com.hao.Controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class HelloWorldController { + @RequestMapping("/hello") + public String Shello(){ + return "HELLO WORLD"; + } +} \ No newline at end of file diff --git a/untitled2/src/main/java/com/hao/Controller/hello.java b/untitled2/src/main/java/com/hao/Controller/hello.java new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/untitled2/target/classes/com/hao/App.class b/untitled2/target/classes/com/hao/App.class new file mode 100644 index 0000000000000000000000000000000000000000..4681d14d54c82ff56d6c2464f0c648765a9a1f90 Binary files /dev/null and b/untitled2/target/classes/com/hao/App.class differ diff --git a/untitled2/target/classes/com/hao/Controller/HelloWorldController.class b/untitled2/target/classes/com/hao/Controller/HelloWorldController.class new file mode 100644 index 0000000000000000000000000000000000000000..3c40901fc78cc9193bd9563e001d6eba7d14afa0 Binary files /dev/null and b/untitled2/target/classes/com/hao/Controller/HelloWorldController.class differ diff --git a/untitled2/target/maven-archiver/pom.properties b/untitled2/target/maven-archiver/pom.properties new file mode 100644 index 0000000000000000000000000000000000000000..2dea509771aa458b0a6c7a86762c75fb2d519588 --- /dev/null +++ b/untitled2/target/maven-archiver/pom.properties @@ -0,0 +1,3 @@ +artifactId=untitled2 +groupId=org.example +version=1.0-SNAPSHOT diff --git a/untitled2/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/untitled2/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/untitled2/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/untitled2/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000000000000000000000000000000000000..a2d10bfc512c0745821a183d1cfe0f00c45c51d8 --- /dev/null +++ b/untitled2/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,2 @@ +E:\code\java\untitled2\src\main\java\com\hao\Controller\HelloWorldController.java +E:\code\java\untitled2\src\main\java\com\hao\App.java diff --git a/untitled2/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/untitled2/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/untitled2/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/untitled2/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/untitled2/target/untitled2-1.0-SNAPSHOT.jar b/untitled2/target/untitled2-1.0-SNAPSHOT.jar new file mode 100644 index 0000000000000000000000000000000000000000..be8c769c21687ab17c37d7f536b0a4bb15d1e80e Binary files /dev/null and b/untitled2/target/untitled2-1.0-SNAPSHOT.jar differ