首页 > 解决方案 > magento 2.0.18 类 Magento\Framework\Intl\NumberFormatterFactory 不存在

问题描述

运行命令“ php bin/magento setup:di:compile”时,我在 magento 2.0.18 版中遇到了这个问题

[ReflectionException]
  Class Magento\Framework\Intl\NumberFormatterFactory does not exist


[ReflectionException]
  Class Magento\Framework\Intl\NumberFormatterFactory does not exist


  [Magento\Framework\Exception\LocalizedException]
  Source class "\Magento\Framework\Intl\NumberFormatter" for "Magento\Framework\Intl\NumberFormatterFactory" generation doe
  s not exist.

我知道,它已在 Magento 2.2.x 中删除,但我使用的是 2.0.18 版本。

这是屏幕截图: 在此处输入图像描述

任何想法都会有所帮助。

标签: compiler-errorsmagento2

解决方案


请运行以下命令 sudo chmod -R 777 var/


推荐阅读