亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Error creating bean with name 'entityManagerFactory' defined in class path resource

Error creating bean with name 'entityManagerFactory' defined in class path resource

Robot_ 2018-08-13 15:32:01
2018-08-13 15:19:03.386? INFO 5684 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean? : Mapping servlet: 'dispatcherServlet' to [/]2018-08-13 15:19:03.395? INFO 5684 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean? ?: Mapping filter: 'characterEncodingFilter' to: [/*]2018-08-13 15:19:03.396? INFO 5684 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean? ?: Mapping filter: 'hiddenHttpMethodFilter' to: [/*]2018-08-13 15:19:03.396? INFO 5684 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean? ?: Mapping filter: 'httpPutFormContentFilter' to: [/*]2018-08-13 15:19:03.396? INFO 5684 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean? ?: Mapping filter: 'requestContextFilter' to: [/*]2018-08-13 15:19:03.762? WARN 5684 --- [? ? ? ? ? ?main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactory' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactoryBuilder' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactoryBuilder' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaVendorAdapter' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.orm.jpa.JpaVendorAdapter]: Factory method 'jpaVendorAdapter' threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/HibernateException2018-08-13 15:19:03.765? INFO 5684 --- [? ? ? ? ? ?main] o.apache.catalina.core.StandardService? ?: Stopping service [Tomcat]2018-08-13 15:19:03.789? INFO 5684 --- [? ? ? ? ? ?main] utoConfigurationReportLoggingInitializer :?Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.2018-08-13 15:19:03.804 ERROR 5684 --- [? ? ? ? ? ?main] o.s.boot.SpringApplication? ? ? ? ? ? ? ?: Application startup failedorg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactory' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactoryBuilder' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactoryBuilder' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaVendorAdapter' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.orm.jpa.JpaVendorAdapter]: Factory method 'jpaVendorAdapter' threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/HibernateException at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.3.18.RELEASE.jar:4.3.18.RELEASE]
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 5378 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號