2018-03-30 21:47:35 2899次浏览 1条回答 0 悬赏 100 金钱
{
    "name": "Exception",
    "message": "Class user_credentials does not exist",
    "code": -1,
    "type": "ReflectionException",
    "file": "/www/wwwroot/local.user.com/vendor/yiisoft/yii2/di/Container.php",
    "line": 428,
    "stack-trace": [
        "#0 /www/wwwroot/local.user.com/vendor/yiisoft/yii2/di/Container.php(428): ReflectionClass->__construct('user_credential...')",
        "#1 /www/wwwroot/local.user.com/vendor/yiisoft/yii2/di/Container.php(364): yii\\di\\Container->getDependencies('user_credential...')",
        "#2 /www/wwwroot/local.user.com/vendor/yiisoft/yii2/di/Container.php(156): yii\\di\\Container->build('user_credential...', Array, Array)",
        "#3 /www/wwwroot/local.user.com/vendor/filsh/yii2-oauth2-server/Module.php(100): yii\\di\\Container->get('user_credential...')",
        "#4 /www/wwwroot/local.user.com/vendor/filsh/yii2-oauth2-server/controllers/DefaultController.php(25): filsh\\yii2\\oauth2server\\Module->getServer()",
        "#5 [internal function]: filsh\\yii2\\oauth2server\\controllers\\DefaultController->actionToken()",
        "#6 /www/wwwroot/local.user.com/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)",
        "#7 /www/wwwroot/local.user.com/vendor/yiisoft/yii2/base/Controller.php(157): yii\\base\\InlineAction->runWithParams(Array)",
        "#8 /www/wwwroot/local.user.com/vendor/yiisoft/yii2/base/Module.php(528): yii\\base\\Controller->runAction('token', Array)",
        "#9 /www/wwwroot/local.user.com/vendor/yiisoft/yii2/web/Application.php(103): yii\\base\\Module->runAction('oauth2/default/...', Array)",
        "#10 /www/wwwroot/local.user.com/vendor/yiisoft/yii2/base/Application.php(386): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))",
        "#11 /www/wwwroot/local.user.com/api/index.php(17): yii\\base\\Application->run()",
        "#12 {main}"
    ]
}
补充于 2018-03-30 21:57

是完全按官方的配置来做的

您需要登录后才可以回答。登录 | 立即注册
asialong
CEO

asialong

注册时间:2015-11-27
最后登录:2021-03-24
在线时长:439小时49分
  • 粉丝8
  • 金钱6065
  • 威望10
  • 积分10555

热门问题