Error creating bean with name 'entityManagerFactory' defined in class path resource
[org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]:
[PersistenceUnit: default] Unable to build Hibernate SessionFactory;
nested exception is org.hibernate.MappingException: Could not instantiate
id generator [entity-name=jpabook.jpashop.domain.OrderItem]
와 같은 에러가 계속 발생하였다.
원인은 h2 database 버전 차이인 것으로 확인되었다.
그래서 버전을 계속 업그레이드 하였는데도 버전이 바뀌지 않아서 database 자체를 mariaDb로
바꾸었더니 해결되었다...
이 문제를 해결하려고 하루종일 걸렸다....줸장