B2B hybris 模块生成不起作用
B2B hybris module gen does not work
使用 b2b_acc 配方后,我想做模块生成。喜欢:
ant modulegen -Dinput.module=accelerator -Dinput.name=qqq -Dinput.package=com.fffff.sampa -Dinput.template=develop
但它给出了
的错误
hybris "java.util.regex.PatternSyntaxException": Illegal repetition near index 0 ${YMODULE_TOKEN}(.*)
并且没有关于如何为 b2b 做的信息。
我能做什么?我需要开发一个 b2b 网站。我应该使用 extgen 吗?
现在它给出了这个:
java.lang.IllegalArgumentException: cannot merge namespace
((fulfilmentprocess)) into (()) due to duplicate attribute
'ConsignmentProcess.done(java.lang.Boolean):((fulfilmentprocess))::YAttributeDescriptor[fulfilmentprocess-items.xml:18(AttributeTagListener)][PROPERTY]'
vs
'ConsignmentProcess.done(java.lang.Boolean):((yacceleratorfulfilmentprocess))::YAttributeDescriptor[yacceleratorfulfilmentprocess-items.xml:18(AttributeTagListener)][PROPERTY]'
当您使用 modulegen 创建自定义扩展时,您还应该删除 localextension.properties 文件中的现有模板扩展。
删除以下任何可能出现在您的 localextensions.xml 文件中的扩展名
yacceleratorcore
yacceleratorfacades
yacceleratorstorefront
yacceleratorinitialdata
yacceleratortest
yacceleratorcockpits
yacceleratorfulfilmentproces
阅读此处了解有关如何使用 modulegen 自定义加速器的更多详细信息:
https://help.hybris.com/6.6.0/hcd/8ace75c786691014a5e9dcafa29d5410.html
此问题与版本有关,但请尝试从 localextensions.xml 中删除 yacceleratorfulfilmentproces 或 yacceleratorbackoffice,这可能会有所帮助。
使用 b2b_acc 配方后,我想做模块生成。喜欢:
ant modulegen -Dinput.module=accelerator -Dinput.name=qqq -Dinput.package=com.fffff.sampa -Dinput.template=develop
但它给出了
的错误hybris "java.util.regex.PatternSyntaxException": Illegal repetition near index 0 ${YMODULE_TOKEN}(.*)
并且没有关于如何为 b2b 做的信息。
我能做什么?我需要开发一个 b2b 网站。我应该使用 extgen 吗?
现在它给出了这个:
java.lang.IllegalArgumentException: cannot merge namespace ((fulfilmentprocess)) into (()) due to duplicate attribute 'ConsignmentProcess.done(java.lang.Boolean):((fulfilmentprocess))::YAttributeDescriptor[fulfilmentprocess-items.xml:18(AttributeTagListener)][PROPERTY]' vs 'ConsignmentProcess.done(java.lang.Boolean):((yacceleratorfulfilmentprocess))::YAttributeDescriptor[yacceleratorfulfilmentprocess-items.xml:18(AttributeTagListener)][PROPERTY]'
当您使用 modulegen 创建自定义扩展时,您还应该删除 localextension.properties 文件中的现有模板扩展。
删除以下任何可能出现在您的 localextensions.xml 文件中的扩展名
yacceleratorcore
yacceleratorfacades
yacceleratorstorefront
yacceleratorinitialdata
yacceleratortest
yacceleratorcockpits
yacceleratorfulfilmentproces
阅读此处了解有关如何使用 modulegen 自定义加速器的更多详细信息:
https://help.hybris.com/6.6.0/hcd/8ace75c786691014a5e9dcafa29d5410.html
此问题与版本有关,但请尝试从 localextensions.xml 中删除 yacceleratorfulfilmentproces 或 yacceleratorbackoffice,这可能会有所帮助。