co robię źlę: Błąd pojawia się przy dodaniu adnotacji @Entity nad nazwa mojej klasy. Program jest typowo szkoleniowy POJO:
Błąd:
017-11-20 22:49:08.507 WARN 5994 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: 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: Use of @OneToMany or @ManyToMany targeting an unmapped
Błąd:
017-11-20 22:49:08.507 WARN 5994 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: 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: Use of @OneToMany or @ManyToMany targeting an unmapped

















#programowanie #java
Uczuć frameworku, który nie jest springiem. ( ͡° ͜ʖ ͡°)
Na przykład: Spark.
http://sparkjava.com/tutorials