org.apache.camel.spring.boot.CamelSpringBootInitializationException

org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>> To[olingo2://read/Products] <<< in route: Route(route1)[[From[direct:olingo_start]] -> [To[olingo2://r... because of Failed to resolve endpoint: olingo2://read/Products due to: serviceUri

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via Stack Overflow by mariob
    , 10 months ago
    org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>> To[olingo2://read/Products] <<< in route: Route(route1)[[From[direct:olingo_start]] -> [To[olingo2://r... because of Failed to resolve endpoint: olingo2://read/Products due to: serviceUri
  • org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>> To[activiti:activationProcess:approval] <<< in route: Route(route1)[[From[imaps://imap.server.com?username=myemail@... because of Failed to resolve endpoint: activiti://activationProcess:approval due to: No component found with scheme: activiti
  • org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>> To[class:io.fabric8.funktion.example.MainKt?method=main] <<< in route: Route(route1)[[From[netty4-http:http://0.0.0.0:8080]] -> [To... because of Failed to resolve
  • Stack trace

    • org.apache.camel.spring.boot.CamelSpringBootInitializationException: org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>> To[olingo2://read/Products] <<< in route: Route(route1)[[From[direct:olingo_start]] -> [To[olingo2://r... because of Failed to resolve endpoint: olingo2://read/Products due to: serviceUri at org.apache.camel.spring.boot.RoutesCollector.onApplicationEvent(RoutesCollector.java:124)[camel-spring-boot-2.17.1.jar:2.17.1] at org.apache.camel.spring.boot.RoutesCollector.onApplicationEvent(RoutesCollector.java:41)[camel-spring-boot-2.17.1.jar:2.17.1] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:877)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE] at com.verizon.wisegate.neo4j.livesync.Application.main(Application.java:21)[classes/:na] Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>> To[olingo2://read/Products] <<< in route: Route(route1)[[From[direct:olingo_start]] -> [To[olingo2://r... because of Failed to resolve endpoint: olingo2://read/Products due to: serviceUri at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1072)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:196)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:974)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3295)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3018)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2848)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2844)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2867)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2844)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2813)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.spring.boot.RoutesCollector.maybeStart(RoutesCollector.java:141)[camel-spring-boot-2.17.1.jar:2.17.1] at org.apache.camel.spring.boot.RoutesCollector.onApplicationEvent(RoutesCollector.java:116)[camel-spring-boot-2.17.1.jar:2.17.1] ... 15 more Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: olingo2://read/Products due to: serviceUri at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:588)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:107)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:113)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:534)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:495)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:219)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1069)[camel-core-2.17.1.jar:2.17.1] ... 28 more Caused by: java.lang.IllegalArgumentException: serviceUri at org.apache.camel.component.olingo2.api.impl.Olingo2AppImpl.setServiceUri(Olingo2AppImpl.java:148)[camel-olingo2-api-2.17.1.jar:2.17.1] at org.apache.camel.component.olingo2.api.impl.Olingo2AppImpl.<init>(Olingo2AppImpl.java:134)[camel-olingo2-api-2.17.1.jar:2.17.1] at org.apache.camel.component.olingo2.Olingo2Component.createOlingo2App(Olingo2Component.java:150)[camel-olingo2-2.17.1.jar:2.17.1] at org.apache.camel.component.olingo2.Olingo2Component.createApiProxy(Olingo2Component.java:112)[camel-olingo2-2.17.1.jar:2.17.1] at org.apache.camel.component.olingo2.Olingo2Endpoint.createProxy(Olingo2Endpoint.java:186)[camel-olingo2-2.17.1.jar:2.17.1] at org.apache.camel.component.olingo2.Olingo2Endpoint.afterConfigureProperties(Olingo2Endpoint.java:120)[camel-olingo2-2.17.1.jar:2.17.1] at org.apache.camel.util.component.AbstractApiEndpoint.configureProperties(AbstractApiEndpoint.java:114)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.component.olingo2.Olingo2Endpoint.configureProperties(Olingo2Endpoint.java:110)[camel-olingo2-2.17.1.jar:2.17.1] at org.apache.camel.component.olingo2.Olingo2Component.createEndpoint(Olingo2Component.java:81)[camel-olingo2-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)[camel-core-2.17.1.jar:2.17.1] at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:568)[camel-core-2.17.1.jar:2.17.1] ... 38 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.