Skip to content

Commit

Permalink
Fixed: Various bugs in Helloworld CDI SE Example
Browse files Browse the repository at this point in the history
(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 <markus@headcrashing.eu>
  • Loading branch information
quipsy-karg authored and mkarg committed Jul 22, 2019
1 parent 445a541 commit 685f381
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/helloworld-cdi2-se/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ Run the example as follows:
This deploys the example using [Grizzly](http://grizzly.java.net/) container.

- <http://localhost:8080/helloworld>
- <http://localhost:8080/helloworld/Some%20Name>
2 changes: 1 addition & 1 deletion examples/helloworld-cdi2-se/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<mainClass>java.org.glassfish.jersey.examples.helloworld.cdi2se.App</mainClass>
<mainClass>org.glassfish.jersey.examples.helloworld.cdi2se.App</mainClass>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit 685f381

Please sign in to comment.