Error "not a class nor a valid container entry"

@nightfury @leejohny653 did you ever find a solution to this error?

im encountering the same problem: NotCallableException Cannot call test() on App\Domain\User\TestController because it is not a class nor a valid container entry

If i use the last piece of code from @tj_gumis then I get: Callable App\Domain\User\TestController::test does not exist