compiler-errors - 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 版本。
任何想法都会有所帮助。
解决方案
请运行以下命令 sudo chmod -R 777 var/
推荐阅读
- sql - 时间戳的持续时间?
- ios - 如何在滚动视图中制作表格视图?
- javascript - 值总是从本地存储返回 null (Ionic 3 + angular 5)
- python - 将 python 对象传递给视图 Django
- javascript - 如何在 Firefox 中获取 js 中的本地日期时间
- linux - uboot:覆盖 mmcboot 环境变量不起作用
- javascript - Javascript:拒绝包含多于一列的 csv
- r - 根据 R Shiny 中的复选框选择创建绘图
- hazelcast-jet - 具有 2 个传入边缘的处理器 - 当在一个边缘返回 false 时,继续从同一边缘重新处理,并且永远不要在另一边缘处理新项目
- c# - 带有属性的嵌套列表的反序列化