Laravel系统返回NotFoundHttpException

时间:2014-06-27 07:58:39

标签: php laravel laravel-4 compiled illuminate-container

我的laravel 4项目有时会在错误日志中输出错误,如下所示:

 exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in /var/www/html/projectname/bootstrap/compiled.php:5336 Stack trace: #0 /var/www/html/projectname/bootstrap/compiled.php(4685): 
 Illuminate\Routing\RouteCollection->match(Object(Illuminate\Http\Request)) #1 /var/www/html/projectname/bootstrap/compiled.php(4673): 
 Illuminate\Routing\Router->findRoute(Object(Illuminate\Http\Request)) #2 /var/www/html/projectname/bootstrap/compiled.php(4665): 
 Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #3 /var/www/html/projectname/bootstrap/compiled.php(706): 
 Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #4 /var/www/html/projectname/bootstrap/compiled.php(687):
 Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #5 /var/www/html/projectname/bootstrap/compiled.php(1146): 
 Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #6 /var/www/html/projectname/bootstrap/compiled.php(7308): 
 Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true) #7 /var/www/html/projectname/bootstrap/compiled.php(7905): 
 Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #8 /var/www/html/projectname/bootstrap/compiled.php(7852): 
 Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #9 /var/www/html/projectname/bootstrap/compiled.php(10872): 
 Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #10 /var/www/html/projectname/bootstrap/compiled.php(648):
 Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #11 /var/www/html/projectname/public/index.php(65): 
 Illuminate\Foundation\Application->run() #12
 {main} 

我无法解决问题。这是什么原因?任何帮助,将不胜感激。感谢。

0 个答案:

没有答案