我安装了集体Laravel,但我得到错误类的形式没有找到。我试图安装,但它不工作。请帮助。我使用作曲家更新和作曲家转储-自动加载-o不效果。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
{!! Form::open(['url' => 'foo/bar']) !!}
//asd
{!! Form::close() !!}
</body>
</html>
composer.json
"require": {
"php": ">=5.6.4",
"barryvdh/laravel-dompdf": "^0.8.0",
"laravel/framework": "5.4.*",
"laravel/tinker": "~1.0",
"laravelcollective/html": "^5.4.0",
"maatwebsite/excel": "~2.1.0",
"simplesoftwareio/simple-qrcode": "~1"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.7",
"zizaco/entrust": "5.2.x-dev"
},
Config/app.php
'providers' => [
/*
* Laravel Framework Service Providers...
*/
Illuminate\Auth\AuthServiceProvider::class,
Illuminate\Broadcasting\BroadcastServiceProvider::class,
Illuminate\Bus\BusServiceProvider::class,
Illuminate\Cache\CacheServiceProvider::class,
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
Illuminate\Cookie\CookieServiceProvider::class,
Illuminate\Database\DatabaseServiceProvider::class,
Illuminate\Encryption\EncryptionServiceProvider::class,
Illuminate\Filesystem\FilesystemServiceProvider::class,
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
Illuminate\Hashing\HashServiceProvider::class,
Illuminate\Mail\MailServiceProvider::class,
Illuminate\Notifications\NotificationServiceProvider::class,
Illuminate\Pagination\PaginationServiceProvider::class,
Illuminate\Pipeline\PipelineServiceProvider::class,
Illuminate\Queue\QueueServiceProvider::class,
Illuminate\Redis\RedisServiceProvider::class,
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
Illuminate\Session\SessionServiceProvider::class,
Illuminate\Translation\TranslationServiceProvider::class,
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
Zizaco\Entrust\EntrustServiceProvider::class,
Barryvdh\DomPDF\ServiceProvider::class,
SimpleSoftwareIO\QrCode\QrCodeServiceProvider::class,
/*
* Package Service Providers...
*/
Laravel\Tinker\TinkerServiceProvider::class,
/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
Collective\Html\HtmlServiceProvider::class,
],
'aliases' => [
'App' => Illuminate\Support\Facades\App::class,
'Artisan' => Illuminate\Support\Facades\Artisan::class,
'Auth' => Illuminate\Support\Facades\Auth::class,
'Blade' => Illuminate\Support\Facades\Blade::class,
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
'Bus' => Illuminate\Support\Facades\Bus::class,
'Cache' => Illuminate\Support\Facades\Cache::class,
'Config' => Illuminate\Support\Facades\Config::class,
'Cookie' => Illuminate\Support\Facades\Cookie::class,
'Crypt' => Illuminate\Support\Facades\Crypt::class,
'DB' => Illuminate\Support\Facades\DB::class,
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
'Event' => Illuminate\Support\Facades\Event::class,
'File' => Illuminate\Support\Facades\File::class,
'Gate' => Illuminate\Support\Facades\Gate::class,
'Hash' => Illuminate\Support\Facades\Hash::class,
'Lang' => Illuminate\Support\Facades\Lang::class,
'Log' => Illuminate\Support\Facades\Log::class,
'Mail' => Illuminate\Support\Facades\Mail::class,
'Notification' => Illuminate\Support\Facades\Notification::class,
'Password' => Illuminate\Support\Facades\Password::class,
'Queue' => Illuminate\Support\Facades\Queue::class,
'Redirect' => Illuminate\Support\Facades\Redirect::class,
'Redis' => Illuminate\Support\Facades\Redis::class,
'Request' => Illuminate\Support\Facades\Request::class,
'Response' => Illuminate\Support\Facades\Response::class,
'Route' => Illuminate\Support\Facades\Route::class,
'Schema' => Illuminate\Support\Facades\Schema::class,
'Session' => Illuminate\Support\Facades\Session::class,
'Storage' => Illuminate\Support\Facades\Storage::class,
'URL' => Illuminate\Support\Facades\URL::class,
'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class,
'Entrust' => Zizaco\Entrust\EntrustFacade::class,
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
'PDF' => Barryvdh\DomPDF\Facade::class,
'QrCode' => SimpleSoftwareIO\QrCode\Facades\QrCode::class,
],
表单问题我使用明确的缓存和配置。它起作用了。
php工匠缓存:清除
php artisan配置:清除
我已经用Laravel6.4启动了一个项目,但是在6.4版本中出现了表单错误。我已经检查了一些相关的解决方案,但是没有一个能用这个版本。 任何帮助都将不胜感激
我面临“类”表单“未找到”的问题,我目前正在使用laravel 5.4。我已经尽了最大的努力来解决这个问题。 谢谢 错误是:哎呀,看起来好像出了什么问题。 1/1 d0b19e04e5a1f8a5507d8ca427362b23807103ca.php行23中的FatalErrorException:在d0b19e04e5a1f8a5507d8ca427362b23807103ca.php行23中
当我尝试以编程方式将资产中的.ttf文件中的自定义字体设置为android应用中的按钮时,它返回由以下原因引起的错误:java.lang.RuntimeException:font asset找不到Fonts/MenuButton.ttf。Assets文件夹在主目录中,我使用了以下代码:Typeface tpf=Typeface.createFromAsset(this.getAssets(),“
我正在使用Spring Boot gradle插件构建一个可执行的war。我有一个好消息来源。src/main/resources中的java类来定位文件: 当我执行gradle构建时,我得到一个错误,即类FindResource无法解析。我是否需要Spring Boot gradle插件,它还应该使用resources目录中的类。我该怎么做? 我的身材。gradle如下所示:
我已经在我的CentOs中安装了协议2.5.0, 当我执行命令proc--version时,它会产生 LIBProc 2.5.0 作为输出。 但一旦我从git中提取代码,当我尝试使用Maven3编译它时,proto模块抛出错误,说, Prococ失败错误: /bin/sh: Prococ:命令未找到 我参考了许多博客,也尝试改变我的bashrc路径如下, 导出JAVA_HOME=/opt/java
解析器+=“TypeSafe Repository”(位于“http://repo.typesafe.com/typesafe/releases/”) 解析器+=“Sonatype Releases”,网址为“http://oss.sonatype.org/content/repositories/releases” libraryDependencies+=“com.typesafe.akka”