XCC content connector to crawl ServiNow Documentationce
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hello,
I created External Content connector for ServiceNow Product Documentation (to index Release notes only).
this connector never starts successfully with this error:
Connector failed to start with exception: Error creating bean with name 'serviceNowSdkConfig' defined in class path resource [com/raytion/connector/agent/servicenow/config/ServiceNowConfiguration.class]: Unsatisfied dependency expressed through method 'serviceNowSdkConfig' parameter 0: Error creating bean with name 'raytion.connector.agent.servicenow-product-doc.connection-com.raytion.connector.agent.servicenow.config.properties.SnpdConnectionProperties': Could not bind properties to 'SnpdConnectionProperties' : prefix=raytion.connector.agent.servicenow-product-doc.connection, ignoreInvalidFields=false, ignoreUnknownFields=true. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serviceNowSdkConfig' defined in class path resource [com/raytion/connector/agent/servicenow/config/ServiceNowConfiguration.class]: Unsatisfied dependency expressed through method 'serviceNowSdkConfig' parameter 0: Error creating bean with name 'raytion.connector.agent.servicenow-product-doc.connection-com.raytion.connector.agent.servicenow.config.properties.SnpdConnectionProperties': Could not bind properties to 'SnpdConnectionProperties' : prefix=raytion.connector.agent.servicenow-product-doc.connection, ignoreInvalidFields=false, ignoreUnknownFields=true
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1375)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1205)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1221)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1187)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1123)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149)
at com.raytion.connector.sdk.agent.service.global.ApplicationManagerImpl.startBusinessApplication(ApplicationManagerImpl.java:68)
at com.raytion.connector.sdk.agent.service.global.ApplicationManagerImpl.start(ApplicationManagerImpl.java:54)
at com.raytion.connector.sdk.agent.service.Service.main(Service.java:18)
Caused by: org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'raytion.connector.agent.servicenow-product-doc.connection-com.raytion.connector.agent.servicenow.config.properties.SnpdConnectionProperties': Could not bind properties to 'SnpdConnectionProperties' : prefix=raytion.connector.agent.servicenow-product-doc.connection, ignoreInvalidFields=false, ignoreUnknownFields=true
at org.springframework.boot.context.properties.ConstructorBound.from(ConstructorBound.java:47)
at org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.lambda$createBeanDefinition$1(ConfigurationPropertiesBeanRegistrar.java:97)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier(AbstractAutowireCapableBeanFactory.java:1297)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.obtainInstanceFromSupplier(DefaultListableBeanFactory.java:1034)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.obtainFromSupplier(AbstractAutowireCapableBeanFactory.java:1257)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1200)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
... 21 more
Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'raytion.connector.agent.servicenow-product-doc.connection' to com.raytion.connector.agent.servicenow.config.properties.SnpdConnectionProperties
at org.springframework.boot.context.properties.bind.Binder.handleBindError(Binder.java:399)
at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:361)
at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:345)
at org.springframework.boot.context.properties.bind.Binder.bindOrCreate(Binder.java:337)
at org.springframework.boot.context.properties.bind.Binder.bindOrCreate(Binder.java:322)
at org.springframework.boot.context.properties.ConfigurationPropertiesBinder.bindOrCreate(ConfigurationPropertiesBinder.java:101)
at org.springframework.boot.context.properties.ConstructorBound.from(ConstructorBound.java:44)
... 37 more
Caused by: org.springframework.boot.context.properties.bind.validation.BindValidationException: Binding validation errors on raytion.connector.agent.servicenow-product-doc.connection
- Error in object 'raytion.connector.agent.servicenow-product-doc.connection': codes [ValidatedConfiguration.raytion.connector.agent.servicenow-product-doc.connection,ValidatedConfiguration]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [raytion.connector.agent.servicenow-product-doc.connection]; arguments []; default message []]; default message []
at org.springframework.boot.context.properties.bind.validation.ValidationBindHandler.validateAndPush(ValidationBindHandler.java:141)
at org.springframework.boot.context.properties.bind.validation.ValidationBindHandler.validate(ValidationBindHandler.java:114)
at org.springframework.boot.context.properties.bind.validation.ValidationBindHandler.onFinish(ValidationBindHandler.java:105)
at org.springframework.boot.context.properties.bind.AbstractBindHandler.onFinish(AbstractBindHandler.java:68)
at org.springframework.boot.context.properties.bind.Binder.handleBindResult(Binder.java:385)
at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:358)
... 42 more
anyone here having success with this XCC for SN docs? Might the source system be overloaded or am I doing things wrong?
0 REPLIES 0
