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

/api will hit 404 if change camel version is 3.10 #3

Open
noirwes opened this issue Feb 24, 2022 · 0 comments
Open

/api will hit 404 if change camel version is 3.10 #3

noirwes opened this issue Feb 24, 2022 · 0 comments

Comments

@noirwes
Copy link

noirwes commented Feb 24, 2022

Hi I have been looking at your sample codes to learn Camel, which is a lot of help. When I tried to run your code using 3.7.7 (LTS Latest version) it still could work. But when I go all the way to 3.10.0, whilst the application can start, I am getting the following warnings:

2022-02-24 18:26:33.119 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.spring.converter.ResourceConverterLoader 2022-02-24 18:26:33.125 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.CamelBaseBulkConverterLoader 2022-02-24 18:26:33.126 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.component.file.GenericFileConverterLoader 2022-02-24 18:26:33.134 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.jaxp.CamelXmlJaxpBulkConverterLoader 2022-02-24 18:26:33.136 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.stream.StreamCacheBulkConverterLoader 2022-02-24 18:26:33.138 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.http.common.HttpConverterLoader 2022-02-24 18:26:33.145 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.attachment.AttachmentConverterLoader 2022-02-24 18:26:33.151 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.component.jackson.converter.JacksonTypeConvertersLoader

After that when the request is sent via Postman, instead of Hello World I will be getting

{ "timestamp": "2022-02-24T10:28:13.292+00:00", "status": 404, "error": "Not Found", "message": "", "path": "/services/api/" }

Update: Once updated to 3.11.0, the warning disappears but I am still getting a 404.

Still trying to find the reason why.

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