2020 Mar 06 2:42 AM - edited 2024 Feb 03 6:20 PM
Hi All,
We are getting below error while enabling sapproductavailability extension.
Conflicting bean definitions for defaultSapFutureStockService from 'warehousing' and 'sapproductavailability' extension.
"Error initializing global application context!","thrown":{"commonElementCount":0,"localizedMessage":"Error creating bean with name 'defaultSapFutureStockService' defined in class path resource [sapproductavailability-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'de.hybris.platform.warehousing.atp.services.impl.WarehousingCommerceStockService' to required type 'de.hybris.platform.sap.sapproductavailability.service.SapProductAvailabilityService' for property 'sapProductAvailabilityService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'de.hybris.platform.warehousing.atp.services.impl.WarehousingCommerceStockService' to required type 'de.hybris.platform.sap.sapproductavailability.service.SapProductAvailabilityService' for property 'sapProductAvailabilityService': no matching editors or conversion strategy found","message":"Error creating bean with name 'defaultSapFutureStockService' defined in class path resource [sapproductavailability-spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'de.hybris.platform.warehousing.atp.services.impl.WarehousingCommerceStockService' to required type 'de.hybris.platform.sap.sapproductavailability.service.SapProductAvailabilityService' for property 'sapProductAvailabilityService'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'de.hybris.platform.warehousing.atp.services.impl.WarehousingCommerceStockService' to required type 'de.hybris.platform.sap.sapproductavailability.service.SapProductAvailabilityService' for property 'sapProductAvailabilityService': no matching editors or conversion strategy found","name":"org.springframework.beans.factory.BeanCreationException"
Has anyone faced this issue and what would be the best way to tackle such problems.
Request clarification before answering.
Hi Sanket,
We are also facing similar issue, are you able to resolve it.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 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.