私はたまたま創造のすべてのsymfonyの問題を抱えています...
新しいプロジェクトを作りたいです。
' symfony2 'フォルダーをコピーし、名前を変更します。
php app/console generate:bundle
それは言う:
Generating the bundle code: OK
Checking that the bundle is autoloaded: FAILED
Confirm automatic update of your Kernel [yes]?
Enabling the bundle inside the Kernel: OK
Confirm automatic update of the Routing [yes]?
Importing the bundle routing resource: FAILED
The command was not able to configure everything automatically.
You must do the following changes manually.
- Edit the composer.json file and register the bundle
namespace in the "autoload" section:
Bundle MddevPsavBundle is already imported.
どうしてこれなの?前回同じコマンドを実行したときにその問題が発生しなかったのはいつですか?
どうすればこれを正確に解決できますか?そして、私はそのファイルに正確に何を追加しcomposer.json
ますか?
私は何かを試しましたが、次のようになります。
Fatal error: Class 'Mddev\PsavBundle\MddevPsavBundle' not found in
/var/www/projetQ/app/AppKernel.php on line 22