Helper from plugin not found CakePHP 4

hi, I’ve installed Rating plugin [1.0.0] using composer and load the plugin in …src/Application.php


Then I’ve loaded the rating table into the database. Next, load the rating components in controller:

$this->loadComponent(‘Ratings.Rating’, [‘actions’ => [‘view’]);

when load the view codes:

if (!$isRated) {
echo $this->Rating->control([
‘item’ => $post->id,
‘js’ => true,
} else {
echo __(‘You have already rated.’);
echo $this->Rating->display($isRated[‘value’]);

it produced an error: RatingHelper could not be found in view. How can I solve this issue?

Did you load the Rating Helper in your AppView.php file?