diff --git a/build.gradle b/build.gradle index c7447b9..ef60eb8 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ plugins { compileJava.options.encoding = "UTF-8" compileTestJava.options.encoding = "UTF-8" -// mainClassName = "com.smi.xxx.rest.base.Application" +// mainClassName = "com.smi.xxx.rest.base.App" sourceCompatibility = 21 targetCompatibility = 21 @@ -91,7 +91,7 @@ repositories { // def _groupID = 'io.github.gipo999' // def _artifactID = 'rest.base' -// def _mainClass = 'Application' +// def _mainClass = 'App' // ### CHECKSTYLE checkstyle { diff --git a/src/main/java/com/smi/xxx/rest/base/BaseService.java b/src/main/java/com/smi/xxx/rest/base/BaseService.java index 9bd4490..fe40d99 100644 --- a/src/main/java/com/smi/xxx/rest/base/BaseService.java +++ b/src/main/java/com/smi/xxx/rest/base/BaseService.java @@ -18,7 +18,7 @@ public class BaseService { @Path("/") public Response get() { - return Response.ok("Hello World 2!").build(); + return Response.ok("Hello World").build(); } // get @POST diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 648c676..ead8a98 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -12,7 +12,7 @@ javax.ws.rs.Application - com.smi.xxx.rest.base.Application + com.smi.xxx.rest.base.App