Skip to Content
0
Jun 12, 2018 at 04:58 PM

java.lang.IllegalStateException: invalid attribute CustomProduct.(java.lang.String):((core))::YAttributeDescriptor[customcore-items.xml:51(AttributeTagListener)][PROPERTY] due to missing enclosing type 'CustomProduct'

1228 Views

I am having a new itemtype which extends Product, earlier for my new itemtype i kept both autocreate & generate true and later i modified to false for both values as my new itemtype is extending Product.

Later when i am trying to build it, i am getting the below exception

C:\hybris67\hybris\bin\platform\resources\ant\antmacros.xml:798: java.lang.IllegalStateException: invalid attribute CustomProduct.(java.lang.String):((core))::YAttributeDescriptor[customcore-items.xml:51(AttributeTagListener)][PROPERTY] due to missing enclosing type 'CustomProduct'

Can any one let me know what changes i need to do in order to avoid this issue.

Appreciate your help here. Thanks.

Regards., Yesh,