Я вот отсюда пример взял:
https://www.baeldung.com/intro-to-project-lombokПовесил аннотацию
@Entity на классы User, Customer (и даже пробовал на ContactInformationSupport).
Ошибка:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: No identifier specified for entity: ru.pcask.tmplts.entities.lomb.ContactInformationSupport
В общем, не получается ничего. Да я бы посмотрел из даже интересу, как он таблицы-то создаст. Я не гордый так-то. Я бы и потерпел даже кривоватые таблицы. Но сомнения были изначально: а куда там энтити-то весить. Ну, в общем, взорвалось все.