0
私はクラッセFicheControllerで評価エンティティを作成したいので、私は別の名前空間に "use"ステートメントを忘れましたか?
use Polytech\SkillsBundle\Entity\SousOccasion;
use Polytech\SkillsBundle\Entity\Evaluation;
use Polytech\SkillsBundle\Entity\EvaluationCompetence;
.....
を使用して、:=
$evaluation = new Evaluation();
が、私はこのエラーに
Attempted to load class "Evaluation" from namespace "Polytech\SkillsBundle\Controller".
Did you forget a "use" statement for another namespace?
'評価'と 'FicheController'はどのネームスペースに属していますか? –
FicheControllerは名前空間Polytech \ SkillsBundle \ Controllerに属します。 評価はue Polytech \ SkillsBundle \ Entityに属します –
評価クラスを表示できますか?特にクラス名でスペルミスがないか確認してください。 – ehymel