{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/9637","labels_url":"https://api.github.com/repos/laravel/framework/issues/9637/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/9637/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/9637/events","html_url":"https://github.com/laravel/framework/issues/9637","id":95255348,"number":9637,"title":"route not found?","user":{"login":"BardiaAfshin","id":1905150,"avatar_url":"https://avatars.githubusercontent.com/u/1905150?v=3","gravatar_id":"","url":"https://api.github.com/users/BardiaAfshin","html_url":"https://github.com/BardiaAfshin","followers_url":"https://api.github.com/users/BardiaAfshin/followers","following_url":"https://api.github.com/users/BardiaAfshin/following{/other_user}","gists_url":"https://api.github.com/users/BardiaAfshin/gists{/gist_id}","starred_url":"https://api.github.com/users/BardiaAfshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BardiaAfshin/subscriptions","organizations_url":"https://api.github.com/users/BardiaAfshin/orgs","repos_url":"https://api.github.com/users/BardiaAfshin/repos","events_url":"https://api.github.com/users/BardiaAfshin/events{/privacy}","received_events_url":"https://api.github.com/users/BardiaAfshin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-15T18:09:11Z","updated_at":"2015-09-14T20:59:08Z","closed_at":"2015-07-15T19:41:45Z","body":"Okay, I'm building out a service on ec2 (ubuntu 64 bit 14.04LTS) on a application that I've built locally on my mac that works just fine.\r\n\r\nThe problem is that route:list doesn't find one specific route, and if I comment out the route to that controller, it works just fine. Help?\r\n\r\n``bash\r\nubuntu@ip-192-168-3-183:/var/www/email-microservice$ ./artisan route:list\r\n\r\n\r\n                                                            \r\n  [ReflectionException]                                     \r\n  Class App\\Http\\Controllers\\OrgunitService does not exist  \r\n                                                            \r\n\r\n\r\nubuntu@ip-192-168-3-183:/var/www/email-microservice$ find -name routes.php\r\n./app/Http/routes.php\r\nubuntu@ip-192-168-3-183:/var/www/email-microservice$ find -name routes.php^C\r\nubuntu@ip-192-168-3-183:/var/www/email-microservice$ php --version\r\nPHP 5.5.9-1ubuntu4.11 (cli) (built: Jul  2 2015 15:23:08) \r\nCopyright (c) 1997-2014 The PHP Group\r\nZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies\r\n    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies\r\nubuntu@ip-192-168-3-183:/var/www/email-microservice$ ./artisan |head -n 5\r\nLaravel Framework version 5.0.33\r\n\r\nUsage:\r\n command [options] [arguments]\r\n\r\n```\r\n\r\nEDIT: local php version is 5.5.24 and ec2 instance of php version 5.5.9"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/140204318","html_url":"https://github.com/laravel/framework/issues/9637#issuecomment-140204318","issue_url":"https://api.github.com/repos/laravel/framework/issues/9637","id":140204318,"user":{"login":"BardiaAfshin","id":1905150,"avatar_url":"https://avatars.githubusercontent.com/u/1905150?v=3","gravatar_id":"","url":"https://api.github.com/users/BardiaAfshin","html_url":"https://github.com/BardiaAfshin","followers_url":"https://api.github.com/users/BardiaAfshin/followers","following_url":"https://api.github.com/users/BardiaAfshin/following{/other_user}","gists_url":"https://api.github.com/users/BardiaAfshin/gists{/gist_id}","starred_url":"https://api.github.com/users/BardiaAfshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BardiaAfshin/subscriptions","organizations_url":"https://api.github.com/users/BardiaAfshin/orgs","repos_url":"https://api.github.com/users/BardiaAfshin/repos","events_url":"https://api.github.com/users/BardiaAfshin/events{/privacy}","received_events_url":"https://api.github.com/users/BardiaAfshin/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T20:59:08Z","updated_at":"2015-09-14T20:59:08Z","body":"So for anybody else out there getting this exception. I had developed this on a local mac os x.\r\n\r\nThat exception was happening on Ubuntu.\r\n\r\nThe problem is that Mac does not throw exception for not having exact casing on the letters. \r\n\r\nIn my routes I was referencing 'OrgunitService' with a lower case letter 'u', where the actual class is defined as 'OrgUnitService'. \r\n\r\nSo the exception is correct, what was hard to find is the fact that mac is not treating that class as case sensitive and Ubuntu 14.04 LTS is."}}