私は2つのカスタムクラス、OzBakim
とGunlukEtkinlik
を持っています。これらのクラスはエンティティではありません。私はエンティティでこれらのクラスを使用する必要があります。Springブート - エンティティのカスタムクラスフィールド
しかし、私はエラーを取得する:
どのように私はこの問題を解決することができますか?私は間違いを発見した
2017-06-23 13:53:19.791 WARN 12832 --- [ main] o.s.w.c.s.GenericWebApplicationContext : 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/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory
2017-06-23 13:53:19.799 WARN 12832 --- [ main] o.s.boot.SpringApplication : Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' available)
とその例外はあなたの本当の理由を告げる入れ子の例外を持つことになります。 –
完全なスタックトレースを書き留めてください。 – ozgur
@ozgurYazıyorumşimdigüncellemeyle。 – forguta