Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message on service startup is incorrect. #398

Open
eliotpearson opened this issue Apr 25, 2018 · 1 comment
Open

Message on service startup is incorrect. #398

eliotpearson opened this issue Apr 25, 2018 · 1 comment
Assignees
Labels

Comments

@eliotpearson
Copy link
Member

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.

johnmcclean added a commit that referenced this issue Apr 25, 2018
@johnmcclean
Copy link
Member

PR is here : #399

jijisv added a commit that referenced this issue Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants