micro-server icon indicating copy to clipboard operation
micro-server copied to clipboard

Message on service startup is incorrect.

Open eliotpearson opened this issue 7 years ago • 1 comments

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.

eliotpearson avatar Apr 25 '18 16:04 eliotpearson

PR is here : https://github.com/aol/micro-server/pull/399

johnmcclean avatar Apr 25 '18 16:04 johnmcclean