0

impex で ClassificationAttributeValueTranslator を使用しようとしています。クラス ClassificationAttributeTranslator が機能している例がいくつかありますが、これを機能させることはできません。

$productCatalog = myCatalog
$classificationCatalog = myClassification

$catalogVersion = catalogversion(catalog(id[default = $productCatalog]), version[default = 'Staged'])[unique = true, default = $productCatalog:Staged]
$clAttrModifiers = system = '$classificationCatalog', version = '1.0', translator = de.hybris.platform.catalog.jalo.classification.impex.ClassificationAttributeValueTranslator, lang = es
//Q_1001 is the ClassAttributeAssignment ID
$feature1 = @Q_1001 [$clAttrModifiers];
//123012 is the product code and
INSERT_UPDATE  Product; code[unique = true]; $feature1; $catalogVersion
; 123012 ; TEST VALUE;

このエラーが発生しています

INSERT_UPDATE  Product;code[unique = true];@Q_1001 [system = 'myClassification', version = '1.0', translator = de.hybris.platform.catalog.jalo.classification.impex.ClassificationAttributeValueTranslator, lang = es];catalogversion(catalog(id[default = myCatalog]), version[default = 'Staged'])[unique = true, default = myCatalog:Staged];# invalid special value translator class 'de.hybris.platform.catalog.jalo.classification.impex.ClassificationAttributeValueTranslator' - cannot create due to java.lang.InstantiationException: de.hybris.platform.catalog.jalo.classification.impex.ClassificationAttributeValueTranslator
,,,,invalid special value translator class 'de.hybris.platform.catalog.jalo.classification.impex.ClassificationAttributeValueTranslator' - cannot create due to java.lang.InstantiationException: de.hybris.platform.catalog.jalo.classification.impex.ClassificationAttributeValueTranslator;123012;TEST VALUE;
4

1 に答える 1

0

使用する必要があり、使用de.hybris.platform.catalog.jalo.classification.impex.ClassificationAttributeTranslatorしないでくださいde.hybris.platform.catalog.jalo.classification.impex.ClassificationAttributeValueTranslator

于 2018-03-14T15:21:26.860 に答える