Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Expected to find class "App\Form\AdminAnnonceType" in file "/home/jjstrcdd/public_html/Symfony-project/src/Form/AdminAnnonceType.php" while importing services from resource "../src/", but it was not found! Check the namespace prefix used with the resource. in /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/FileLoader.php:224 Stack trace: #0 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/FileLoader.php(105): Symfony\Component\DependencyInjection\Loader\FileLoader->findClasses() #1 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(699): Symfony\Component\DependencyInjection\Loader\FileLoader->registerClasses() #2 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(256): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinition() #3 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(176): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinitions() #4 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(132): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadContent() #5 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/config/Loader/FileLoader.php(159): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load() #6 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/config/Loader/FileLoader.php(98): Symfony\Component\Config\Loader\FileLoader->doImport() #7 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/FileLoader.php(66): Symfony\Component\Config\Loader\FileLoader->import() #8 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php(64): Symfony\Component\DependencyInjection\Loader\FileLoader->import() #9 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(58): Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator->import() #10 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(188): App\Kernel->configureContainer() #11 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/ClosureLoader.php(39): App\Kernel->Symfony\Bundle\FrameworkBundle\Kernel\{closure}() #12 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/config/Loader/DelegatingLoader.php(40): Symfony\Component\DependencyInjection\Loader\ClosureLoader->load() #13 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(196): Symfony\Component\Config\Loader\DelegatingLoader->load() #14 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/http-kernel/Kernel.php(651): App\Kernel->registerContainerConfiguration() #15 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/http-kernel/Kernel.php(547): Symfony\Component\HttpKernel\Kernel->buildContainer() #16 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/http-kernel/Kernel.php(789): Symfony\Component\HttpKernel\Kernel->initializeContainer() #17 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/http-kernel/Kernel.php(190): Symfony\Component\HttpKernel\Kernel->preBoot() #18 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle() #19 /home/jjstrcdd/public_html/Symfony-project/vendor/autoload_runtime.php(35): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() #20 /home/jjstrcdd/public_html/Symfony-project/public/index.php(5): require_once('/home/jjstrcdd/...') #21 {main} Next Symfony\Component\Config\Exception\LoaderLoadException: Expected to find class "App\Form\AdminAnnonceType" in file "/home/jjstrcdd/public_html/Symfony-project/src/Form/AdminAnnonceType.php" while importing services from resource "../src/", but it was not found! Check the namespace prefix used with the resource in /home/jjstrcdd/public_html/Symfony-project/config/services.yaml (which is being imported from "/home/jjstrcdd/public_html/Symfony-project/src/Kernel.php"). in /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/config/Loader/FileLoader.php:174 Stack trace: #0 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/config/Loader/FileLoader.php(98): Symfony\Component\Config\Loader\FileLoader->doImport() #1 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/FileLoader.php(66): Symfony\Component\Config\Loader\FileLoader->import() #2 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php(64): Symfony\Component\DependencyInjection\Loader\FileLoader->import() #3 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(58): Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator->import() #4 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(188): App\Kernel->configureContainer() #5 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/dependency-injection/Loader/ClosureLoader.php(39): App\Kernel->Symfony\Bundle\FrameworkBundle\Kernel\{closure}() #6 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/config/Loader/DelegatingLoader.php(40): Symfony\Component\DependencyInjection\Loader\ClosureLoader->load() #7 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(196): Symfony\Component\Config\Loader\DelegatingLoader->load() #8 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/http-kernel/Kernel.php(651): App\Kernel->registerContainerConfiguration() #9 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/http-kernel/Kernel.php(547): Symfony\Component\HttpKernel\Kernel->buildContainer() #10 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/http-kernel/Kernel.php(789): Symfony\Component\HttpKernel\Kernel->initializeContainer() #11 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/http-kernel/Kernel.php(190): Symfony\Component\HttpKernel\Kernel->preBoot() #12 /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle() #13 /home/jjstrcdd/public_html/Symfony-project/vendor/autoload_runtime.php(35): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() #14 /home/jjstrcdd/public_html/Symfony-project/public/index.php(5): require_once('/home/jjstrcdd/...') #15 {main} thrown in /home/jjstrcdd/public_html/Symfony-project/vendor/symfony/config/Loader/FileLoader.php on line 174