JBossFuse:karaf@root> 线程“SpringOsgiExtenderThread-46”中的异常 org.apache.camel.RuntimeCamelException:org.apache.camel.FailedToCreateRouteException:无法在以下位置创建路由 route23:>>> DoTry[[To[json-validator:jsonschema .json], DoCatch[ null -> []]]] <<< in route: Route(route23)[[From[file:///D:/jsonfiles/file?noop=true]] -... 因为无法解析端点:json-validator://jsonschema.json,原因是:没有找到带有方案的组件:org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1363)的 json-validator at org.apache org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:303) 在 org.springframework.context.event.SimpleApplicationEventMulticaster 的 .camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)。org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) 的 multicastEvent(SimpleApplicationEventMulticaster.java:96) org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948) 的 org.springframework .osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235) 在 org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358) 在 org.springframework.osgi.util.internal。 PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) 在 org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) 在 org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.lang.Thread.run(Thread.java:748) 原因:org.apache.camel.FailedToCreateRouteException:无法在以下位置创建路由 route23:>>> DoTry[[To[json-validator:jsonschema.json],DoCatch[ null -> []]]] <<< 在路由中:Route(route23)[[From[file: ///D:/jsonfiles/file?noop=true]] -... 因为无法解析端点:json-validator://jsonschema.json 由于:没有找到具有方案的组件:org.json-validator。 org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:177) 在 org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext. java:778) 在组织。apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1955) 在 org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1705) 在 org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext. java:1579) 在 org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) 在 org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1547) 在 org.apache.camel.spring .SpringCamelContext.maybeStart(SpringCamelContext.java:221) at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118) ... 10 更多原因:org.apache.camel.ResolveEndpointFailedException:无法解析端点:json-validator://jsonschema.json 由于:没有找到带有方案的组件:org.apache.camel.impl.DefaultCamelContext 的 json-validator。getEndpoint(DefaultCamelContext.java:537) at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:71) at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:192) at org.apache .camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:106) 在 org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:112) 在 org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java :61) 在 org.apache.camel.model.ProcessorDefinition.createProcessor(ProcessorDefinition.java:460) 在 org.apache.camel.model 的 org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:55)。 ProcessorDefinition.createOutputsProcessor(ProcessorDefinition.java:429) 在 org.apache.camel.model.TryDefinition.createProcessor(TryDefinition.java:73) 在 org.apache.camel.model。ProcessorDefinition.makeProcessor(ProcessorDefinition.java:500) 在 org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:213) 在 org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:909) .. . 19 更多