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

Got 404 when run your sample code. #7

Open
urstar opened this issue Oct 23, 2018 · 1 comment
Open

Got 404 when run your sample code. #7

urstar opened this issue Oct 23, 2018 · 1 comment

Comments

@urstar
Copy link

urstar commented Oct 23, 2018

I tested with browser and curl, both returned 404 code.
And i checked in RouteMatcher, near
final HttpRequestHandler handler = routes.get(new PatternBinding(method, path));

and i got a null hadler.
then the prefixRoutes is empty. nothing in it.
so
noMatch.handle(request);
return the '404' (not found)

i guess there is something wrong in your sample code? or did i make something wrong?
help me please.

@urstar
Copy link
Author

urstar commented Oct 23, 2018

hope this project is still active :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant