Description
Errors like
Caused by: java.lang.IllegalArgumentException: The given OpenApi specification could not be loaded from `https://petstore3.swagger.io/api/v3/openapi.json`. Tried loading using Camel's resource resolution and using OpenApi's own resource resolution. OpenApi tends to swallow exceptions while parsing, try specifying Java system property `debugParser` (e.g. `-DdebugParser=true`), the exception that occurred when loading using Camel's resource loader follows at org.apache.camel.component.rest.openapi.RestOpenApiEndpoint.loadSpecificationFrom(RestOpenApiEndpoint.java:813) ~[camel-rest-openapi-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.component.rest.openapi.RestOpenApiEndpoint.createProducer(RestOpenApiEndpoint.java:186) ~[camel-rest-openapi-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.support.DefaultEndpoint.createAsyncProducer(DefaultEndpoint.java:197) ~[camel-support-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.support.cache.ServicePool$SinglePool.acquire(ServicePool.java:237) ~[camel-support-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.support.cache.ServicePool$SinglePool.acquire(ServicePool.java:216) ~[camel-support-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.support.cache.ServicePool.acquire(ServicePool.java:112) ~[camel-support-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.support.cache.ProducerServicePool.acquire(ProducerServicePool.java:28) ~[camel-support-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.support.cache.DefaultProducerCache.acquireProducer(DefaultProducerCache.java:149) ~[camel-support-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] ... 11 common frames omitted Caused by: java.lang.IllegalArgumentException: Cannot find a ResourceResolver in classpath supporting the scheme: https at org.apache.camel.impl.engine.DefaultResourceLoader.resolveResource(DefaultResourceLoader.java:117) ~[camel-base-engine-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.support.ResourceHelper.resolveResourceAsInputStream(ResourceHelper.java:134) ~[camel-support-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.support.ResourceHelper.resolveMandatoryResourceAsInputStream(ResourceHelper.java:111) ~[camel-support-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] at org.apache.camel.component.rest.openapi.RestOpenApiEndpoint.loadSpecificationFrom(RestOpenApiEndpoint.java:807) ~[camel-rest-openapi-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] ... 18 common frames omitted
Attachments
Attachments
Issue Links
- links to