1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| 2016-11-27 13:26:46.403 INFO 6112 --- [ main] com.example.TpExemplesApplication : Starting TpExemplesApplication on Wajih-PC with PID 6112 (started by java in C:\travail Kepler\TP_Exemples)
2016-11-27 13:26:46.403 INFO 6112 --- [ main] com.example.TpExemplesApplication : No active profile set, falling back to default profiles: default
2016-11-27 13:26:46.899 INFO 6112 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5e8bc44a: startup date [Sun Nov 27 13:26:46 WAT 2016]; root of context hierarchy
2016-11-27 13:26:49.835 INFO 6112 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$fe08ed4b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-11-27 13:26:50.830 INFO 6112 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2016-11-27 13:26:50.847 INFO 6112 --- [ main] o.apache.catalina.core.StandardService : Starting service Tomcat
2016-11-27 13:26:50.849 INFO 6112 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.6
2016-11-27 13:26:51.005 INFO 6112 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2016-11-27 13:26:51.006 INFO 6112 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 4111 ms
2016-11-27 13:26:51.376 INFO 6112 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2016-11-27 13:26:51.383 INFO 6112 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-27 13:26:51.384 INFO 6112 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-27 13:26:51.384 INFO 6112 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-27 13:26:51.385 INFO 6112 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2016-11-27 13:26:52.011 INFO 6112 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2016-11-27 13:26:52.047 INFO 6112 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2016-11-27 13:26:52.198 INFO 6112 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.11.Final}
2016-11-27 13:26:52.202 INFO 6112 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2016-11-27 13:26:52.205 INFO 6112 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
2016-11-27 13:26:52.310 INFO 6112 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2016-11-27 13:26:52.871 INFO 6112 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2016-11-27 13:26:53.530 INFO 6112 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export
Hibernate: alter table produit drop foreign key FK6mfi292w75rgsluywqkrtbdtn
Hibernate: drop table if exists categorie
Hibernate: drop table if exists produit
Hibernate: create table categorie (id_categorie bigint not null auto_increment, nom_categorie varchar(70), primary key (id_categorie))
Hibernate: create table produit (id_produit bigint not null auto_increment, designation varchar(70), prix double precision not null, qunatite integer not null, id_cat bigint, primary key (id_produit))
Hibernate: alter table produit add constraint FK6mfi292w75rgsluywqkrtbdtn foreign key (id_cat) references categorie (id_categorie)
2016-11-27 13:26:55.577 INFO 6112 --- [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000230: Schema export complete
2016-11-27 13:26:55.629 INFO 6112 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2016-11-27 13:26:56.363 INFO 6112 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5e8bc44a: startup date [Sun Nov 27 13:26:46 WAT 2016]; root of context hierarchy
2016-11-27 13:26:56.526 INFO 6112 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-27 13:26:56.527 INFO 6112 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-27 13:26:56.606 INFO 6112 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-27 13:26:56.606 INFO 6112 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-27 13:26:56.707 INFO 6112 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-27 13:26:56.799 WARN 6112 --- [ main] .t.AbstractTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2016-11-27 13:26:58.357 INFO 6112 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2016-11-27 13:26:58.463 INFO 6112 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2016-11-27 13:26:58.472 INFO 6112 --- [ main] com.example.TpExemplesApplication : Started TpExemplesApplication in 12.837 seconds (JVM running for 13.267)
Exception in thread "main" org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.exemple.dao.EntityRepository<?>' available
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:348)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:335)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1093)
at com.example.TpExemplesApplication.main(TpExemplesApplication.java:17) |
Partager