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

Developer Lab 3 - Swagger to REST: Task 6: /locations URL doesn't work #394

Open
rbaumgar opened this issue Apr 15, 2021 · 0 comments
Open

Comments

@rbaumgar
Copy link

In task 6 the /loactions URL does not work -> 404
/camel/locations work perfect

12:14:03.320 [main] INFO  o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'dispatcherServlet' to [/]
12:14:03.322 [main] INFO  o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'CamelServlet' to [/camel/*]
12:14:03.324 [main] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'metricsFilter' to: [/*]
12:14:03.325 [main] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*]
12:14:03.325 [main] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
12:14:03.325 [main] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*]
12:14:03.325 [main] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*]
12:14:03.325 [main] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'webRequestLoggingFilter' to: [/*]
12:14:03.325 [main] INFO  o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'applicationContextIdFilter' to: [/*]

after update in application.properties
camel.component.servlet.mapping.contextPath=/*
old was "context-path"
/locations works perfect.

environment: https://tutorial-web-app-webapp.apps.cluster-77glf.77glf.sandbox858.opentlc.com/

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