This is the code and path of the controller
<code><?php namespace Home\Controller; use Think\Controller; class IndexController extends Controller { public function qq(){ $this->display(); } } ?></code>
This is the path to the view template
This is how I visited
<code>http://localhost/a/qq/index.php/home/first/qq</code>
Then prompt this error
This is the code and path of the controller
<code><?php namespace Home\Controller; use Think\Controller; class IndexController extends Controller { public function qq(){ $this->display(); } } ?></code>
This is the path to the view template
This is how I visited
<code>http://localhost/a/qq/index.php/home/first/qq</code>
Then prompt this error
Note the class name
Looks like you should be using the TP framework. The controller file name and class name of the TP framework should be consistent.