diff --git a/spring-boot-package-war/.classpath b/spring-boot-package-war/.classpath new file mode 100644 index 000000000..5e8d85320 --- /dev/null +++ b/spring-boot-package-war/.classpath @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/spring-boot-package-war/.gitignore b/spring-boot-package-war/.gitignore new file mode 100644 index 000000000..b83d22266 --- /dev/null +++ b/spring-boot-package-war/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/spring-boot-package-war/.project b/spring-boot-package-war/.project new file mode 100644 index 000000000..bb2535916 --- /dev/null +++ b/spring-boot-package-war/.project @@ -0,0 +1,23 @@ + + + spring-boot-package-war + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/spring-boot-package-war/.settings/org.eclipse.core.resources.prefs b/spring-boot-package-war/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..839d647ee --- /dev/null +++ b/spring-boot-package-war/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,5 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding/=UTF-8 diff --git a/spring-boot-package-war/.settings/org.eclipse.jdt.core.prefs b/spring-boot-package-war/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..a3b98fd01 --- /dev/null +++ b/spring-boot-package-war/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/spring-boot-package-war/pom.xml b/spring-boot-package-war/pom.xml index c54d0da80..af0591aa6 100644 --- a/spring-boot-package-war/pom.xml +++ b/spring-boot-package-war/pom.xml @@ -5,7 +5,7 @@ com.neo spring-boot-package-war - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT war spring-boot-package-war diff --git a/spring-boot-package-war/src/main/java/com/neo/controller/HelloWorldController.java b/spring-boot-package-war/src/main/java/com/neo/controller/HelloWorldController.java index c231fae49..7d0256b4a 100644 --- a/spring-boot-package-war/src/main/java/com/neo/controller/HelloWorldController.java +++ b/spring-boot-package-war/src/main/java/com/neo/controller/HelloWorldController.java @@ -8,6 +8,6 @@ public class HelloWorldController { @RequestMapping("/hello") public String index() { - return "Hello World xx"; + return "Hello World"; } } \ No newline at end of file