cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in initializing defaultSapFutureStockService on Hybris 1905.9

former_member653494
Discoverer
0 Likes
840

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Hi Sanket,

We are also facing similar issue, are you able to resolve it.

Thanks,