我正在使用symfony 2.8,并且正在清理bootstrap.php.cache的某些清洁生产缓存
php应用程序/控制台c:c
为我工作,并且项目运行良好
php app /控制台c:c --env = prod
PHP致命错误:未捕获的错误:在/var/www/html/lsc/app/bootstrap.php.cache:2787中找不到类'appProdProjectContainer'
堆栈跟踪:
0 /var/www/html/lsc/app/bootstrap.php.cache(2561):Symfony \ Component \ HttpKernel \ Kernel-> initializeContainer()
1 /var/www/html/lsc/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(62):Symfony \ Component \ HttpKernel \ Kernel-> boot()
2 /var/www/html/lsc/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(117):Symfony \ Bundle \ FrameworkBundle \ Console \ Application-> doRun(Object(Symfony \ Component \ Console \ Input \ ArgvInput),对象(Symfony \ Component \ Console \ Output \ ConsoleOutput))
3 / var / www / html / lsc / app / console(27):Symfony \ Component \ Console \ Application-> run(Object(Symfony \ Component \ Console \ Input \ ArgvInput))
4 {main}
在2787行上扔到/var/www/html/lsc/app/bootstrap.php.cache中
请帮助我解决这个问题。