From 685f381415329fad95504b9f20858a95d02b3d15 Mon Sep 17 00:00:00 2001 From: Markus KARG Date: Mon, 22 Jul 2019 08:47:03 +0200 Subject: [PATCH] Fixed: Various bugs in Helloworld CDI SE Example (1) README.MD - Sample link misses mandatory parameter (2) pom.xml - Surplus prefix for main class (3) App.java - Surplus base path for root url Signed-off-by: Markus KARG --- examples/helloworld-cdi2-se/README.MD | 2 +- examples/helloworld-cdi2-se/pom.xml | 2 +- .../org/glassfish/jersey/examples/helloworld/cdi2se/App.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/helloworld-cdi2-se/README.MD b/examples/helloworld-cdi2-se/README.MD index 6e4026f9c3e..28f14cd49e1 100644 --- a/examples/helloworld-cdi2-se/README.MD +++ b/examples/helloworld-cdi2-se/README.MD @@ -31,4 +31,4 @@ Run the example as follows: This deploys the example using [Grizzly](http://grizzly.java.net/) container. -- +- diff --git a/examples/helloworld-cdi2-se/pom.xml b/examples/helloworld-cdi2-se/pom.xml index 3f883d8ad57..dbc3fc7a4b9 100644 --- a/examples/helloworld-cdi2-se/pom.xml +++ b/examples/helloworld-cdi2-se/pom.xml @@ -63,7 +63,7 @@ org.codehaus.mojo exec-maven-plugin - java.org.glassfish.jersey.examples.helloworld.cdi2se.App + org.glassfish.jersey.examples.helloworld.cdi2se.App diff --git a/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/App.java b/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/App.java index d35233fa013..d893ddcd632 100644 --- a/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/App.java +++ b/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/App.java @@ -25,7 +25,7 @@ */ public class App { - private static final URI BASE_URI = URI.create("http://localhost:8080/base/"); + private static final URI BASE_URI = URI.create("http://localhost:8080/"); public static final String ROOT_HELLO_PATH = "helloworld"; public static final String ROOT_COUNTER_PATH = "counter";