[Symfony\Component\Debug\Exception\FatalThrowableError] Class 'LaravelLocalization' not found
composer install 或者 php artisan 遇到:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'LaravelLocalization' not found
解決辦法:
composer install –no-scripts
首先在路由裡面註釋掉這兩句:
'prefix' => LaravelLocalization::setLocale(),
'middleware' => ['localeSessionRedirect', 'localizationRedirect']
執行composer update
然後執行:php artisan config:cache
去掉註釋即可
相關文章
- Symfony\Component\Debug\Exception\FatalThrowableError Class 'Lcobucci\JWT\Builder' not foundExceptionErrorJWTUI
- Symfony\Component\Debug\Exception\FatalErrorExceptionExceptionError
- [Symfony Component Process Exception RuntimeException] The Process class relies on proc_open, whichException
- local.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Allowed memory size of 134217728ErrorException
- laravel Symfony\Component\HttpKerenl\Exception\Method...LaravelHTTPException
- [Symfony\Component\Process\Exception\RuntimeException] The ProcException
- Laravel [Symfony\Component\Process\Exception\RuntimeException] The ProcLaravelException
- 使用URLClassLoader報錯not class found exceptionException
- 關於laravel Symfony\Component\HttpKerenl\Exception\Method...錯誤資訊LaravelHTTPException
- 執行composer install報錯:Symfony\Component\Process\Exception\ProcessTimedOutExceptionException
- debug exceptionException
- symfony 2 No route found for “GET /” 的解決方法
- 小程式錯誤:Component is not found in path
- ***報錯Class 'Redis' not found in(原創)Redis
- Lumen 報錯 : Class 'League\Flysystem\Adapter\Local' not foundAPT
- Eclipse 啟動專案錯誤:class not foundEclipse
- kattle Driver class 'oracle.jdbc.driver.OracleDriver' could not be foundOracleJDBC
- ntpq無法查詢同步資訊,顯示The specified class was not found
- JAVA SSH與Class 'org.apache.commons.dbcp.BasicDataSource' not foundJavaApache
- thinkphp ventor引入第三方類庫 class not foundPHP
- SAP WebClient UI component context node class單元測試方法WebclientUIContext
- BOOST應用 無法解析的外部符號 "void __cdecl boost::throw_exception(class std::exception const &)"符號Exception
- No serializer found for class org.apache.ibatis.executor.loader.javassist.JavassistProxyFactory...ApacheBATJava
- JNI開發:Class android.content.Context could not be foundAndroidContext
- myeclipse8.5+maven+jetty debug模式 每次都顯示 source not foundEclipseMavenJetty模式
- spring No default constructor found; nested exception is java.lang.NoSuchMethodException: com.slj.moSpringStructExceptionJava
- Symfony DomCrawler庫
- Hibernate:如果class中使用了component ,如何得到該類全部屬性?
- Ubuntu 20.04 安裝 php-xml 模組(報錯:Class 'DOMDocument' not found )UbuntuPHPXML
- CDH5之Found class jline.Terminal, but interface was expectedH5
- Unexpected Exception caught setting 'uid' on 'class com.opensymphony.xwork2.ActionSupport: ErroExceptionUI
- 1.symfony 元件庫學習之 symfony/console元件
- linux 報錯 jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class not foundLinuxExceptionAIJava
- [分享]關於新版本 Composer 會導致 Class not found 的問題
- [WARNING] warning: Class com.google.protobuf.Descriptors not found - continuing with a stub.GoUI
- Symfony4中文文件: 安裝和設定Symfony框架框架
- Context namespace element 'component-scan' its parser class are only available on JDK 1.5 and higherContextnamespaceAIJDK
- Laravel 6 ignition 解決 Class 'xxx' not found 載入緩慢問題Laravel