Skip to content

Commit

Permalink
fix: app name
Browse files Browse the repository at this point in the history
  • Loading branch information
gipo355 committed May 30, 2024
1 parent 7fbcf81 commit 1c1745f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -91,7 +91,7 @@ repositories {

// def _groupID = 'io.github.gipo999'
// def _artifactID = 'rest.base'
// def _mainClass = 'Application'
// def _mainClass = 'App'

// ### CHECKSTYLE
checkstyle {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/smi/xxx/rest/base/BaseService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- Configura il package dei servizi rest -->
<init-param>
<param-name>javax.ws.rs.Application</param-name>
<param-value>com.smi.xxx.rest.base.Application</param-value>
<param-value>com.smi.xxx.rest.base.App</param-value>
</init-param>

<!-- Configura il supporto alle risorse JSON -->
Expand Down

0 comments on commit 1c1745f

Please sign in to comment.