micro-server
micro-server copied to clipboard
Message on service startup is incorrect.
When I run the code below.
@Rest
@Path("/test")
public class SimpleApp {
public static void main(String[] args){
new MicroserverApp(()->"").run();
}
@GET
public String myEndPoint(){
return "hello world!";
}
}
I receive the following message.
Apr 25 2018 11:29:57 AM EST INFO com.aol.micro.server.servers.grizzly.GrizzlyApplication - Starting application on port 8080 -- []
Apr 25 2018 11:29:57 AM EST INFO com.aol.micro.server.servers.grizzly.GrizzlyApplication - Browse to http://localhost:8080//application.wadl -- []
Apr 25 2018 11:29:57 AM EST INFO com.aol.micro.server.servers.grizzly.GrizzlyApplication - Configured resource classes :- -- []
Apr 25 2018 11:29:57 AM EST INFO com.aol.micro.server.servers.grizzly.GrizzlyApplication - si.SimpleApp : http://localhost:8080//test -- []
http://localhost:8080//test doesn't work, but http://localhost:8080/test does. I believe the messaging should be corrected to account for this.
PR is here : https://github.com/aol/micro-server/pull/399