2017-11-19 14:44:38.902 INFO 9900 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final} 2017-11-19 14:44:38.926 INFO 9900 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found 2017-11-19 14:44:38.952 INFO 9900 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist 2017-11-19 14:44:39.737 INFO 9900 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final} Sun Nov 19 14:44:41 BRST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. 2017-11-19 14:44:41.662 INFO 9900 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2017-11-19 14:44:44.132 INFO 9900 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2017-11-19 14:44:44.277 WARN 9900 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'convidadoController': Unsatisfied dependency expressed through field 'repository'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'br.com.alura.listavip.repository.ConvidadoRepository' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} 2017-11-19 14:44:44.278 INFO 9900 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2017-11-19 14:44:44.296 INFO 9900 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2017-11-19 14:44:44.467 INFO 9900 --- [ main] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 2017-11-19 14:44:47.431 ERROR 9900 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Field repository in br.com.alura.listavip.config.ConvidadoController required a bean of type 'br.com.alura.listavip.repository.ConvidadoRepository' that could not be found.
Action:
Consider defining a bean of type 'br.com.alura.listavip.repository.ConvidadoRepository' in your configuration.