ClassNotFoundException in Router.php line 192: Attempted to load class

  • Hello, I have an installation problem.


    1.I opened the page for the first time.

    2.I trying deleted the lock file and reinstalled composer,Is still an error.

    3.All files have 777 permissions.

    ClassNotFoundException in Router.php line 192: Attempted to load class "UrlMatcher38eb13ec27db97ff65f8943e84f64619a7178a38" from the global namespace.

    Did you forget a "use" statement?

    Code
    1. in Router.php line 192
    2. at Router->getMatcher() in Router.php line 269
    3. at Router->match('/') in RouterListener.php line 47
    4. at RouterListener->onRequest(object(RequestEvent), object(Request))
    5. at call_user_func_array(array(object(RouterListener), 'onRequest'), array(object(RequestEvent), object(Request))) in EventDispatcher.php line 123
    6. at EventDispatcher->trigger(object(RequestEvent), array(object(RequestEvent), object(Request))) in HttpKernel.php line 72
    7. at HttpKernel->handle(object(Request)) in Application.php line 67
    8. at Application->run() in app.php line 29
    9. at require_once('/html/rockjun.com/app/installer/app.php') in index.php line 42


    :P^^



    github issue:https://github.com/pagekit/pagekit/issues/895

  • I choose to download the software installation.is ok.

    In the installation, I found that mysql was unable to access, and debugging was the problem of mysql user permission.

    Problem solved

    Thank you for your reply!