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>
如何跳過錯誤?