on 2018 Dec 27 8:38 AM
Hi.. I am trying to retrieve CMS components with REST API call in Postman as per the information in https://help.hybris.com/1811/hcd/d7fc343d6762433181e9e8af52a4c27a.html . When I try to retrieve one component using the GET call - https://localhost:9002/rest/v2/powertools/cms/components/{componentCode} I am getting the intended response.. But When I try to retrieve multiple components with https://localhost:9002/rest/v2/powertools/cms/components as an POST call with the component Id's to be retrieved are specified in body part of the call, I am getting 403 Forbidden with the message Invalid CORS Request.. I dont see any log in console regarding the same. But when the server actually starts up, I can see some errors regarding Oauth2 but the server starts up after that.. Below is the log of the startup error..
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCommerceWebServicesFilterChainListV2': Cannot resolve reference to bean 'springSecurityFilterChain' while setting bean property 'sourceList' with key [4]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChainProxy': Cannot resolve reference to bean 'org.springframework.security.filterChains' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#0' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#0': Cannot resolve reference to bean 'resourceServerFilter' while setting constructor argument with key [4]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceServerFilter': Cannot create inner bean '(inner bean)#4d0a6fb3' of type [org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationManager] while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#4d0a6fb3': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'de.hybris.platform.oauth2.services.impl.DefaultHybrisOpenIDTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'de.hybris.platform.oauth2.services.impl.DefaultHybrisOpenIDTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices': no matching editors or conversion strategy found
ERROR [localhost-startStop-4] [ContextLoader] Context initialization failed INFO | jvm 1 | main | 2018/12/27 11:50:45.336 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCommerceWebServicesFilterChainListV2': Cannot resolve reference to bean 'springSecurityFilterChain' while setting bean property 'sourceList' with key [4]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChainProxy': Cannot resolve reference to bean 'org.springframework.security.filterChains' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#0' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#0': Cannot resolve reference to bean 'resourceServerFilter' while setting constructor argument with key [4]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceServerFilter': Cannot create inner bean '(inner bean)#4d0a6fb3' of type [org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationManager] while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#4d0a6fb3': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'de.hybris.platform.oauth2.services.impl.DefaultHybrisOpenIDTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'de.hybris.platform.oauth2.services.impl.DefaultHybrisOpenIDTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices': no matching editors or conversion strategy found INFO | jvm 1 | main | 2018/12/27 11:50:45.350 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.395 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.405 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:382) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.408 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.416 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1537) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.417 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1284) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.418 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.424 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.430 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.434 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.437 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.438 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.439 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.440 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.444 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) ~[spring-context-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.451 | at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) ~[spring-web-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.454 | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325) [spring-web-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.455 | at de.hybris.platform.spring.HybrisContextLoaderListener.doInitWebApplicationContext(HybrisContextLoaderListener.java:225) [coreserver.jar:?] INFO | jvm 1 | main | 2018/12/27 11:50:45.465 | at de.hybris.platform.spring.HybrisContextLoaderListener.initWebApplicationContext(HybrisContextLoaderListener.java:199) [coreserver.jar:?] INFO | jvm 1 | main | 2018/12/27 11:50:45.467 | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) [spring-web-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.467 | at de.hybris.platform.spring.HybrisContextLoaderListener.contextInitialized(HybrisContextLoaderListener.java:95) [coreserver.jar:?] INFO | jvm 1 | main | 2018/12/27 11:50:45.477 | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4792) [catalina.jar:8.5.32] INFO | jvm 1 | main | 2018/12/27 11:50:45.478 | at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256) [catalina.jar:8.5.32] INFO | jvm 1 | main | 2018/12/27 11:50:45.487 | at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.32] INFO | jvm 1 | main | 2018/12/27 11:50:45.488 | at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421) [catalina.jar:8.5.32] INFO | jvm 1 | main | 2018/12/27 11:50:45.489 | at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411) [catalina.jar:8.5.32] INFO | jvm 1 | main | 2018/12/27 11:50:45.496 | at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191] INFO | jvm 1 | main | 2018/12/27 11:50:45.498 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191] INFO | jvm 1 | main | 2018/12/27 11:50:45.499 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191] INFO | jvm 1 | main | 2018/12/27 11:50:45.509 | at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] INFO | jvm 1 | main | 2018/12/27 11:50:45.514 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChainProxy': Cannot resolve reference to bean 'org.springframework.security.filterChains' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#0' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#0': Cannot resolve reference to bean 'resourceServerFilter' while setting constructor argument with key [4]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceServerFilter': Cannot create inner bean '(inner bean)#4d0a6fb3' of type [org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationManager] while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#4d0a6fb3': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'de.hybris.platform.oauth2.services.impl.DefaultHybrisOpenIDTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'de.hybris.platform.oauth2.services.impl.DefaultHybrisOpenIDTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices': no matching editors or conversion strategy found INFO | jvm 1 | main | 2018/12/27 11:50:45.522 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.523 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.533 | at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:634) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.534 | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.535 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1201) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.541 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1103) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.547 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.550 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.552 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.553 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.553 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.554 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.555 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.556 | ... 29 more INFO | jvm 1 | main | 2018/12/27 11:50:45.558 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#0' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#0': Cannot resolve reference to bean 'resourceServerFilter' while setting constructor argument with key [4]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceServerFilter': Cannot create inner bean '(inner bean)#4d0a6fb3' of type [org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationManager] while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#4d0a6fb3': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'de.hybris.platform.oauth2.services.impl.DefaultHybrisOpenIDTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'de.hybris.platform.oauth2.services.impl.DefaultHybrisOpenIDTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices': no matching editors or conversion strategy found INFO | jvm 1 | main | 2018/12/27 11:50:45.568 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.569 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.569 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:382) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.571 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.571 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1537) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.572 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1284) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.573 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.574 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.575 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.577 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.583 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.584 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.590 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.591 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.595 | at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:634) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.600 | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.601 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1201) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.602 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1103) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.603 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.604 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.605 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.615 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.618 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.619 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.620 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ~[spring-beans-4.3.17.RELEASE.jar:4.3.17.RELEASE] INFO | jvm 1 | main | 2018/12/27 11:50:45.627 | ... 29 more
I just wonder if the Invalid CORS Request in Postman and this server startup issues are related. I also tried adding the properties that are mentioned here: https://answers.sap.com/questions/12759690/view.html But It doesnt work out. Any help or input will be of great use. Thanks.
Request clarification before answering.
we face same problem when upgrade from 1811.2 to 1811.17, if anyone can help?
INFO | jvm 1 | main | 2021/07/23 14:20:44.456 | [m org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultCommerceWebServicesFilterChainListV1': Cannot resolve reference to bean 'springSecurityFilterChain' while setting bean property 'sourceList' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChainProxy': Cannot resolve reference to bean 'org.springframework.security.filterChains' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#0' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#0': Cannot resolve reference to bean 'resourceServerFilter' while setting constructor argument with key [3]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceServerFilter': Cannot create inner bean '(inner bean)#73bb8717' of type [org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationManager] while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#73bb8717': Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.springframework.security.oauth2.provider.token.DefaultTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'org.springframework.security.oauth2.provider.token.DefaultTokenServices' to required type 'org.springframework.security.oauth2.provider.token.ResourceServerTokenServices' for property 'tokenServices': no matching editors or conversion strategy found
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
17 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.