cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to extend DefaultCartRAOProvider - Hybris 6 Promotion engine trail

Former Member
0 Kudos

I'm working on the Promotion Engine trail here: https://help.hybris.com/6.0.0/hcd/433804dce6a5453d936e13ae2776c2d0.html#loio433804dce6a5453d936e13ae...

The last code sample on this page tells to extend the class DefaultCartRAOProvider but this class is missing from the Hybris 6 code base. I can only see the classes in this package structure: de.hybris.platform.ruleengineservices.rao and not the structure providers/impl/DefaultCartRAOProvider.

Has anyone encountered this issue? Any help is highly appreciated!

Accepted Solutions (1)

Accepted Solutions (1)

former_member357259
Active Contributor
0 Kudos

Hi Gouri,

The class de.hybris.platform.ruleengineservices.rao.providers.impl.DefaultCartRAOProvider is present in ruleengineservicesserver.jar under the extension ruleengineservices. Make sure to add it to your build path.

Former Member
0 Kudos

Hi Charles, thanks for getting back to me on this!

I don't see the packages /providers/impl in my directory structure as shown in the image. I'm having similar issues with other packages in droolsruleengineservices extension too. Not sure what causes this.

former_member357259
Active Contributor
0 Kudos

The package de.hybris.platform.ruleengineservices.rao.providers.impl won't be under platform/bootstrap/gensrc. You will only find it under rulengineservices extension - bin\ext-commerce\ruleengineservices\bin\ruleengineservices.jar

Former Member
0 Kudos

Adding the jar files to the class path solved the issue. Thanks Charles!

Answers (1)

Answers (1)

Former Member
0 Kudos

Tks .