Error creatin bean with name ‘jpaMappingContext’ and ‘NameOfMyRepository’

You should try to use the same casing as the property in Car.

So it should be:

 @OneToMany(mappedBy = "carDealer", cascade = CascadeType.PERSIST)

instead of:

 @OneToMany(mappedBy = "cardealer", cascade = CascadeType.PERSIST)

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top