我在我的本地機器上安裝的symfony 3.1.6的全新副本和我創建了一個簡單的項目,每一件事情進展順利,但是當我在詹金斯創建工作的開展構建我得到這個錯誤:類的Symfony 包 AsseticBundle AsseticBundle
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
PHP Fatal error: Class 'Symfony\Bundle\AsseticBundle\AsseticBundle' not found in /var/lib/jenkins/workspace/projectfolder/app/AppKernel.php on line 29
這是我的作曲文件:
"require": {
"php": ">=5.5.9",
"symfony/symfony": "3.1.*",
"doctrine/orm": "^2.5",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-cache-bundle": "^1.2",
"symfony/swiftmailer-bundle": "^2.3",
"symfony/monolog-bundle": "^2.8",
"symfony/polyfill-apcu": "^1.0",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "^2.0",
"sonata-project/admin-bundle": "^3.9",
"sonata-project/doctrine-orm-admin-bundle": "^3.1",
"friendsofsymfony/user-bundle": "[email protected]",
"sonata-project/easy-extends-bundle": "^2.1",
"sonata-project/classification-bundle": "^3.1",
"sonata-project/core-bundle": "^3.1",
"sonata-project/media-bundle": "^3.3",
"symfony/assetic-bundle": "^2.8"
},
任何幫助嗎?任何想法?
檢查/供應商,以確保它的安裝 –
我有一個文件夾命名爲供應商沒有供應商 –