0
在我的itemtype中,我需要用EnumType声明attribut。但它给了一个错误象下面如何用EnumType声明属性
hybris\bin\platform\resources\ant\antmacros.xml:795:
java.lang.ClassCastException: de.hybris.bootstrap.typesystem.YEnumType
cannot be cast to de.hybris.bootstrap.typesystem.YCollectionType
这里是我如何申报
<attribute qualifier="aaa" type="EnumType" autocreate="true" generate="true">
<persistence qualifier="bbbl" type="property" />
<modifiers read="true" write="true" search="true" removable="true"
optional="true" />
<description>aaa</description>
</attribute>
如何跳过错误?