标签: could not be found
-
本文针对在 CakePHP v2.6.4 中运行 Shell 命令报错 Error Shell class HelloShell could not be found 的问题进行分析与解决。首先在 Console/Command 目录下创建 HelloShell.php,通过在 app 目录执行 Console/cake hello 命令,替代在 Console 目录下执行 ./cake hello,成功解决了找不到类的问题,使命令能够正常运行。
