Skip to Content
author's profile photo Former Member
Former Member

Method call: Method customMethodResolver() cannot be found on com.hybris.datahub.model.CanonicalItem type

Hi experts,

I have created new methodResolver for the existing target type supercategories.

I have extended the "superCategories" in Target type and added a new transformationExpression value "customMethodResolver"

I am getting the below error while iDoc is getting processed.

 com.hybris.datahub.service.spel.TransformationExpressionException: Could not transform by expression customMethodResolver(articleGroup,
                                 articleID)
         at com.hybris.datahub.service.spel.impl.CompilableSpelExpressionProcessor.transform(CompilableSpelExpressionProcessor.java:94) ~[datahub-service-6.0.0.0-RC12.jar:6.0.0.0-RC12]

For new resolver I have created a new class and proper Spring definition for the class in spring.xml

have i missed anyhthing here?.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2016 at 01:00 PM

    this is resolved the issue was the getMethodName() was returning some other name than i defined.Changed that value it is solved now.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.