Skip to content

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

@rbaumgar

Description

@rbaumgar

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions