-
-
Save redrails/8ef251d15d22ce560a22663375afa684 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:compileJava UP-TO-DATE | |
:processResources UP-TO-DATE | |
:classes UP-TO-DATE | |
:findMainClass | |
:bootRun | |
. ____ _ __ _ _ | |
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
\\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
' |____| .__|_| |_|_| |_\__, | / / / / | |
=========|_|==============|___/=/_/_/_/ | |
:: Spring Boot :: (v1.3.0.M2) | |
2017-07-04 11:53:35.289 INFO 8848 --- [ main] AdeyTrack.AdeyTrackApplication : Starting AdeyTrackApplication on linux with PID 8848 (/home/ihtasham/Documents/repos/AdeyTrack/build/classes/main started by ihtasham in /home/ihtasham/Documents/repos/AdeyTrack) | |
2017-07-04 11:53:35.323 INFO 8848 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@32cf48b7: startup date [Tue Jul 04 11:53:35 BST 2017]; root of context hierarchy | |
2017-07-04 11:53:36.269 INFO 8848 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'beanNameViewResolver' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]] | |
2017-07-04 11:53:37.153 INFO 8848 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$3e0b9228] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) | |
2017-07-04 11:53:37.595 INFO 8848 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8090 (https) | |
2017-07-04 11:53:37.765 INFO 8848 --- [ main] o.apache.catalina.core.StandardService : Starting service Tomcat | |
2017-07-04 11:53:37.766 INFO 8848 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.23 | |
2017-07-04 11:53:38.030 INFO 8848 --- [ost-startStop-1] org.apache.jasper.servlet.TldScanner : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. | |
2017-07-04 11:53:38.033 INFO 8848 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext | |
2017-07-04 11:53:38.854 INFO 8848 --- [ost-startStop-1] o.s.j.d.DriverManagerDataSource : Loaded JDBC driver: com.mysql.jdbc.Driver | |
2017-07-04 11:53:39.021 INFO 8848 --- [ost-startStop-1] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default' | |
2017-07-04 11:53:40.311 ERROR 8848 --- [ost-startStop-1] org.hibernate.tool.hbm2ddl.SchemaUpdate : HHH000388: Unsuccessful: alter table stock_quantity add constraint FK_qd73bqjiouo9bxrwx6eda61gb foreign key (stock_id) references stock (id) | |
2017-07-04 11:53:40.312 ERROR 8848 --- [ost-startStop-1] org.hibernate.tool.hbm2ddl.SchemaUpdate : 'AdeyTrack.stock_quantity' is not BASE TABLE | |
2017-07-04 11:53:42.060 INFO 8848 --- [ost-startStop-1] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(java.security.Principal) | |
2017-07-04 11:53:42.062 INFO 8848 --- [ost-startStop-1] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/shutdown],methods=[POST]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.ShutdownMvcEndpoint.invoke() | |
2017-07-04 11:53:42.062 INFO 8848 --- [ost-startStop-1] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() | |
2017-07-04 11:53:42.274 INFO 8848 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/css/**'], [] | |
2017-07-04 11:53:42.275 INFO 8848 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/js/**'], [] | |
2017-07-04 11:53:42.275 INFO 8848 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/images/**'], [] | |
2017-07-04 11:53:42.275 INFO 8848 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/**/favicon.ico'], [] | |
2017-07-04 11:53:42.275 INFO 8848 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: Ant [pattern='/error'], [] | |
2017-07-04 11:53:42.341 INFO 8848 --- [ost-startStop-1] o.s.s.w.a.c.ChannelProcessingFilter : Validated configuration attributes | |
2017-07-04 11:53:42.343 INFO 8848 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.access.channel.ChannelProcessingFilter@46d9ed71, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@34e27cb9, org.springframework.security.web.context.SecurityContextPersistenceFilter@5c6c2224, org.springframework.security.web.header.HeaderWriterFilter@5273a656, org.springframework.security.web.csrf.CsrfFilter@22c5316b, org.springframework.security.web.authentication.logout.LogoutFilter@7bfcae00, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@2cb6ddc3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3791d056, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7095125d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@e46ff6d, org.springframework.security.web.session.SessionManagementFilter@408d9945, org.springframework.security.web.access.ExceptionTranslationFilter@442a9b10, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@261ffda7] | |
2017-07-04 11:53:42.351 INFO 8848 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: org.springframework.boot.actuate.autoconfigure.ManagementSecurityAutoConfiguration$ManagementWebSecurityConfigurerAdapter$EndpointPathRequestMatcher@3d55f7a0, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@186d6614, org.springframework.security.web.context.SecurityContextPersistenceFilter@7718275b, org.springframework.security.web.header.HeaderWriterFilter@1958ab94, org.springframework.security.web.authentication.logout.LogoutFilter@12bd530a, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2c91aea5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6b2c9fe7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@37f48d1d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3928173a, org.springframework.security.web.session.SessionManagementFilter@730adcdd, org.springframework.security.web.access.ExceptionTranslationFilter@4c1a1641, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@2881b385] | |
2017-07-04 11:53:42.468 INFO 8848 --- [ost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] | |
2017-07-04 11:53:42.472 INFO 8848 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'metricFilter' to: [/*] | |
2017-07-04 11:53:42.472 INFO 8848 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] | |
2017-07-04 11:53:42.472 INFO 8848 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] | |
2017-07-04 11:53:42.472 INFO 8848 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*] | |
2017-07-04 11:53:42.472 INFO 8848 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/*] | |
2017-07-04 11:53:42.473 INFO 8848 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*] | |
2017-07-04 11:53:42.650 WARN 8848 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt | |
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private it.ozimov.springboot.mail.service.EmailService AdeyTrack.controller.SearchController.emailService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 2 of type [it.ozimov.springboot.mail.logging.EmailLogRenderer]: : Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:766) | |
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:819) | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:522) | |
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) | |
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:667) | |
at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:342) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:273) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:971) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:960) | |
at AdeyTrack.AdeyTrackApplication.main(AdeyTrackApplication.java:24) | |
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private it.ozimov.springboot.mail.service.EmailService AdeyTrack.controller.SearchController.emailService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 2 of type [it.ozimov.springboot.mail.logging.EmailLogRenderer]: : Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571) | |
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) | |
... 17 common frames omitted | |
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 2 of type [it.ozimov.springboot.mail.logging.EmailLogRenderer]: : Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) | |
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) | |
... 19 common frames omitted | |
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) | |
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) | |
... 32 common frames omitted | |
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) | |
... 44 common frames omitted | |
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:85) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098) | |
... 65 common frames omitted | |
Caused by: java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at java.lang.Class.getConstructor0(Class.java:3082) | |
at java.lang.Class.getDeclaredConstructor(Class.java:2178) | |
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:80) | |
... 66 common frames omitted | |
2017-07-04 11:53:42.657 INFO 8848 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' | |
2017-07-04 11:53:42.661 INFO 8848 --- [ main] o.apache.catalina.core.StandardService : Stopping service Tomcat | |
2017-07-04 11:53:42.674 WARN 8848 --- [ost-startStop-1] o.a.c.loader.WebappClassLoaderBase : The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: | |
java.lang.Object.wait(Native Method) | |
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) | |
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43) | |
2017-07-04 11:53:42.693 INFO 8848 --- [ main] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [file:/home/ihtasham/Documents/repos/AdeyTrack/src/main/resources/, file:/home/ihtasham/Documents/repos/AdeyTrack/build/classes/main/, file:/home/ihtasham/Documents/repos/AdeyTrack/build/resources/main/, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-web/1.3.0.M2/34049fb38393b5bd582afcf2e824301f2f2eadbe/spring-boot-starter-web-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-data-rest/1.3.0.M2/b3102a98c4fe26c40a2d6ce135d9318a313fc89/spring-boot-starter-data-rest-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-mail/1.3.0.M2/e46ce074c2ffbd85294f8f30191b0ef2ea8a343b/spring-boot-starter-mail-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-actuator/1.3.0.M2/251439dd62542aefe8d268829b7f1e1c497ff417/spring-boot-starter-actuator-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-data-jpa/1.3.0.M2/124ffba4b12bccb80d69a864483801497f38d2e8/spring-boot-starter-data-jpa-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-validator/5.1.3.Final/334d46a93cf095160ce06d8382594b904933c808/hibernate-validator-5.1.3.Final.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.h2database/h2/1.4.187/f6b109788d196430458309ea28ce9a77830b3ed8/h2-1.4.187.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-jasper/8.0.23/6119e0c41a0685540b874ee76b469fc2e8a0b9c4/tomcat-embed-jasper-8.0.23.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/javax.servlet/jstl/1.2/74aca283cd4f4b4f3e425f5820cda58f44409547/jstl-1.2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-security/1.3.0.M2/64f7273d5f3da31f91b6d3eea059b8e6d7552a60/spring-boot-starter-security-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-taglibs/4.0.1.RELEASE/d61dd7e3deef4921a52dfa5f536e06b64dce76c7/spring-security-taglibs-4.0.1.RELEASE.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.webjars/handsontable/0.17.0/3a72b2628eb031b93ce0f80337d4ae400167548e/handsontable-0.17.0.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.webjars/jquery/2.0.3-1/9be7beefd7c17933d68640da261e3e05d46f3b45/jquery-2.0.3-1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.webjars/bootstrap/3.3.5/bb8a2e1d0a86ee67e36e4816422d2d7bd36243f2/bootstrap-3.3.5.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/1.7.2/112366d8158749e25532ebce162232c6e0fb20a5/gson-1.7.2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/javax.mail/mail/1.4/1aa1579ae5ecd41920c4f355b0a9ef40b68315dd/mail-1.4.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/mysql/mysql-connector-java/5.1.35/b6ac941b7288376a7e8bc6490264bbd4427fb94e/mysql-connector-java-5.1.35.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter/1.3.0.M2/894c00d4ce8d2dece12750172f6e7fc17f937084/spring-boot-starter-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-tomcat/1.3.0.M2/6e97dafd270e62922e86990334005f35f4b213cc/spring-boot-starter-tomcat-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-validation/1.3.0.M2/4d6b9920a93f5dbb2f500aa20013f8454e4f1192/spring-boot-starter-validation-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.5.4/5dfa42af84584b4a862ea488da84bbbebbb06c35/jackson-databind-2.5.4.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/4.2.0.RC2/5f57a4e20ea50add17cec869b4f496848407ff35/spring-web-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/4.2.0.RC2/7c753722b4f80cbf3666f7e6ddba229b62b156da/spring-webmvc-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.5.4/7a93b60f5d2d43024f34e15893552ee6defdb971/jackson-annotations-2.5.4.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-rest-webmvc/2.4.0.M1/c207f7d678268c4edae0e0b4be0990036edaa0a5/spring-data-rest-webmvc-2.4.0.M1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.2.0.RC2/afdedbddd0346f411b44893fa8110ef805c10b24/spring-context-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context-support/4.2.0.RC2/d8886aa981b4dc284eab91f8ac23d156ea92fcaa/spring-context-support-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.sun.mail/javax.mail/1.5.4/2dd6b709ca0d35853a6061c83434a9b94533b877/javax.mail-1.5.4.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-actuator/1.3.0.M2/9b5675103cfc5eda83b6c10c6c2b2ba53288bb7f/spring-boot-actuator-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-aop/1.3.0.M2/66b395295e12227618d38662fcaed5d9145124ed/spring-boot-starter-aop-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-jdbc/1.3.0.M2/57943b1eab32d7655c37ba84718c7863d58832d1/spring-boot-starter-jdbc-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-entitymanager/4.3.10.Final/1d1beb7bbd179d9bf241c4a8165f0bf3693aca/hibernate-entitymanager-4.3.10.Final.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/javax.transaction/javax.transaction-api/1.2/d81aff979d603edd90dcd8db2abc1f4ce6479e3e/javax.transaction-api-1.2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-jpa/1.9.0.M1/54194b277e8b0c59a91e58e500d2af71f94c0013/spring-data-jpa-1.9.0.M1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aspects/4.2.0.RC2/ce854d6157b46250f0459942e2942ebfd433a4f3/spring-aspects-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/javax.validation/validation-api/1.1.0.Final/8613ae82954779d518631e05daa73a6a954817d5/validation-api-1.1.0.Final.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.jboss.logging/jboss-logging/3.1.3.GA/64499e907f19e5e1b3fdc02f81440c1832fe3545/jboss-logging-3.1.3.GA.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.fasterxml/classmate/1.0.0/434efef28c81162b17c540e634cffa3bd9b09b4c/classmate-1.0.0.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/8.0.23/79dc3aea4f447392ab0bdc1359c31a931cd307d6/tomcat-embed-core-8.0.23.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-el/8.0.23/5a1ca084156665968232112b6606c0b259213aab/tomcat-embed-el-8.0.23.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.eclipse.jdt.core.compiler/ecj/4.4.2/71d67f5bab9465ec844596ef844f40902ae25392/ecj-4.4.2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/4.2.0.RC2/2086497bf8b72b853fea7e705ee91b7207e12d13/spring-aop-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-config/4.0.1.RELEASE/ea7536e27649b80586d3556d14e6fe723f9cb778/spring-security-config-4.0.1.RELEASE.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-web/4.0.1.RELEASE/d5b040641af0f3e35628400e88aa966b5dcf01dc/spring-security-web-4.0.1.RELEASE.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-acl/4.0.1.RELEASE/52db9d6b2803b009fa53db0776eda19eb0e11f52/spring-security-acl-4.0.1.RELEASE.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.security/spring-security-core/4.0.1.RELEASE/1593f9715d2413e425972826917b4228e7664915/spring-security-core-4.0.1.RELEASE.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/4.2.0.RC2/c84179abb1139e35476e0ac4b3e1d6fe2ea19bf6/spring-beans-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/4.2.0.RC2/4eaa77c6e385ac61e8d7fbbc2f9675b3f4bd48d/spring-core-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/4.2.0.RC2/8b3e9d4a40ffbbd7f041749aac42f3ebd700ac93/spring-expression-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.apache.tika/tika-core/1.14/afff8f1774994aa973ef90bc8d38ddf089b9d6d9/tika-core-1.14.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-data-redis/1.5.2.RELEASE/6b4c950f0ea2e9ccd822c7730a9ce4320416183d/spring-boot-starter-data-redis-1.5.2.RELEASE.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/embedded-redis/0.7.0/a1a24ee7cfa1d772f3f9a81b8dc5acfbc58b977e/embedded-redis-0.7.0.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.owasp.encoder/encoder/1.2.1/a0583521083f7c1532ffd01716c46568d97109f0/encoder-1.2.1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/javax.activation/activation/1.1/e6cb541461c2834bdea3eb920f1884d1eb508b50/activation-1.1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/1.3.0.M2/bf6107da8460a51ac5f493a4333ee6906914f9b/spring-boot-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/1.3.0.M2/e02a95e061dfe02e2c13994231c6123e2bd8c894/spring-boot-autoconfigure-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-logging/1.3.0.M2/2b3c66d5f8d3a9931120780c62c30897fce1f171/spring-boot-starter-logging-1.3.0.M2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.15/3b132bea69e8ee099f416044970997bde80f4ea6/snakeyaml-1.15.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-logging-juli/8.0.23/2ec89b09cb0eb133a03d9f513474f99ff667b93b/tomcat-embed-logging-juli-8.0.23.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-websocket/8.0.23/839167a26dec5dcef85fb19e2e429878b7215293/tomcat-embed-websocket-8.0.23.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.5.4/a57a2df1a23ca1ee32f129173ba7f5feaa9ac24/jackson-core-2.5.4.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-rest-core/2.4.0.M1/b889f633593d6189e5bfce4d29f4dcccc7b24cd0/spring-data-rest-core-2.4.0.M1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.github.fge/json-patch/1.7/78831bdcabc64a4f9e64e1439763010b24e0d71d/json-patch-1.7.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.12/8e20852d05222dc286bf1c71d78d0531e177c317/slf4j-api-1.7.12.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.slf4j/jcl-over-slf4j/1.7.12/adef7a9e1263298255fdb5cb107ff171d07c82f3/jcl-over-slf4j-1.7.12.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjrt/1.8.6/a7db7ea5f7bb18a1cbd9f24edd0e666504800be/aspectjrt-1.8.6.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.6/7108cf65148f29a55ebf23db2c46224ea9d086dc/aspectjweaver-1.8.6.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-jdbc/8.0.23/e304d420d7d43dcedb8c5bec005abc120b7c7ac3/tomcat-jdbc-8.0.23.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jdbc/4.2.0.RC2/c721b1b4bbcc79e6d8b2164a2c342df5809e5383/spring-jdbc-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.jboss.logging/jboss-logging-annotations/1.2.0.Beta1/2f437f37bb265d9f8f1392823dbca12d2bec06d6/jboss-logging-annotations-1.2.0.Beta1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-core/4.3.10.Final/6dbf5fe7a8cb307587ad4b4a97ae0933bba5e2a9/hibernate-core-4.3.10.Final.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/dom4j/dom4j/1.6.1/5d3ccc056b6f056dbf0dddfdf43894b9065a8f94/dom4j-1.6.1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.hibernate.common/hibernate-commons-annotations/4.0.5.Final/2a581b9edb8168e45060d8bad8b7f46712d2c52c/hibernate-commons-annotations-4.0.5.Final.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.hibernate.javax.persistence/hibernate-jpa-2.1-api/1.0.0.Final/5e731d961297e5a07290bfaf3db1fbc8bbbf405a/hibernate-jpa-2.1-api-1.0.0.Final.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.javassist/javassist/3.18.1-GA/d9a09f7732226af26bf99f19e2cffe0ae219db5b/javassist-3.18.1-GA.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-commons/1.11.0.M1/f51f7293e235ff22a4dbcf4a907cd909988f03b8/spring-data-commons-1.11.0.M1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-orm/4.2.0.RC2/97d51f20deed349f8d7ba2d4db8dfbe862f68938/spring-orm-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework/spring-tx/4.2.0.RC2/45749b124da6710a399f551b81354830ddd5bf82/spring-tx-4.2.0.RC2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/aopalliance/aopalliance/1.0/235ba8b489512805ac13a8f9ea77a1ca5ebe3e8/aopalliance-1.0.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-redis/1.6.0.M1/58647e853e83c7b32f25c46d825e5f333a5a63bc/spring-data-redis-1.6.0.M1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/redis.clients/jedis/2.7.2/f2f47f1025ea5090263820e8598e56eb47f5c88a/jedis-2.7.2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.5/2852e6e05fbb95076fc091f6d1780f1f8fe35e0f/commons-io-2.5.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.1.3/d90276fff414f06cb375f2057f6778cd63c6082f/logback-classic-1.1.3.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.slf4j/jul-to-slf4j/1.7.12/8811e2e9ab9055e557598dc9aedc64fd43e0ab20/jul-to-slf4j-1.7.12.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.slf4j/log4j-over-slf4j/1.7.12/d2444c9c7c1923304c25f86c5ee83a79a8166205/log4j-over-slf4j-1.7.12.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.hateoas/spring-hateoas/0.17.0.RELEASE/eea3d92f304afed0ef6abf4ed82565533e8ce10/spring-hateoas-0.17.0.RELEASE.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.springframework.plugin/spring-plugin-core/1.2.0.RELEASE/f380e7760032e7d929184f8ad8a33716b75c0657/spring-plugin-core-1.2.0.RELEASE.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.atteo/evo-inflector/1.2.1/b9cdd1e7dc20a222db0853dfb152ef349c7d0eed/evo-inflector-1.2.1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.github.fge/jackson-coreutils/1.6/9e6af56eb7cc2a65700b289abc7ee2bd170fd231/jackson-coreutils-1.6.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/2.0.1/516c03b21d50a644d538de0f0369c620989cd8f0/jsr305-2.0.1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-juli/8.0.23/ad69207bd7a6eb39c8daa5f31c78749f0672e14d/tomcat-juli-8.0.23.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/antlr/antlr/2.7.7/83cd2cd674a217ade95a4bb83a8a14f351f48bd0/antlr-2.7.7.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.jboss/jandex/1.1.0.Final/e84a2122e76f0b6503be78094ddf2108057ac15f/jandex-1.1.0.Final.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/xml-apis/xml-apis/1.0.b2/3136ca936f64c9d68529f048c2618bd356bf85c9/xml-apis-1.0.b2.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-pool2/2.4.1/87b53127a85d88ad364dbf16f832ed9386a8ec2a/commons-pool2-2.4.1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.1.3/e3c02049f2dbbc764681b40094ecf0dcbc99b157/logback-core-1.1.3.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/org.objenesis/objenesis/2.1/87c0ea803b69252868d09308b4618f766f135a96/objenesis-2.1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.github.fge/msg-simple/1.1/f261263e13dd4cfa93cc6b83f1f58f619097a2c4/msg-simple-1.1.jar, file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/com.github.fge/btf/1.2/9e66651022eb86301b348d57e6f59459effc343b/btf-1.2.jar] | |
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private it.ozimov.springboot.mail.service.EmailService AdeyTrack.controller.SearchController.emailService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 2 of type [it.ozimov.springboot.mail.logging.EmailLogRenderer]: : Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [it.ozimov.springboot.mail.service.TemplateService]: : No qualifying bean of type [it.ozimov.springboot.mail.service.TemplateService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [it.ozimov.springboot.mail.service.TemplateService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {} | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:766) | |
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:819) | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:522) | |
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) | |
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:667) | |
at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:342) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:273) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:971) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:960) | |
at AdeyTrack.AdeyTrackApplication.main(AdeyTrackApplication.java:24) | |
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private it.ozimov.springboot.mail.service.EmailService AdeyTrack.controller.SearchController.emailService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 2 of type [it.ozimov.springboot.mail.logging.EmailLogRenderer]: : Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571) | |
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) | |
... 17 more | |
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 2 of type [it.ozimov.springboot.mail.logging.EmailLogRenderer]: : Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) | |
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) | |
... 19 more | |
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) | |
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) | |
... 32 more | |
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) | |
... 44 more | |
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:85) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098) | |
... 65 more | |
Caused by: java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at java.lang.Class.getConstructor0(Class.java:3082) | |
at java.lang.Class.getDeclaredConstructor(Class.java:2178) | |
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:80) | |
... 66 more | |
Related cause: | |
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [it.ozimov.springboot.mail.service.TemplateService]: : No qualifying bean of type [it.ozimov.springboot.mail.service.TemplateService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [it.ozimov.springboot.mail.service.TemplateService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {} | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) | |
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) | |
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:766) | |
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:819) | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:522) | |
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) | |
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:667) | |
at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:342) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:273) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:971) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:960) | |
at AdeyTrack.AdeyTrackApplication.main(AdeyTrackApplication.java:24) | |
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [it.ozimov.springboot.mail.service.TemplateService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {} | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1320) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1066) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) | |
... 32 more | |
2017-07-04 11:53:42.695 ERROR 8848 --- [ main] o.s.boot.SpringApplication : Application startup failed | |
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private it.ozimov.springboot.mail.service.EmailService AdeyTrack.controller.SearchController.emailService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 2 of type [it.ozimov.springboot.mail.logging.EmailLogRenderer]: : Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:766) | |
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:819) | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:522) | |
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) | |
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:667) | |
at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:342) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:273) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:971) | |
at org.springframework.boot.SpringApplication.run(SpringApplication.java:960) | |
at AdeyTrack.AdeyTrackApplication.main(AdeyTrackApplication.java:24) | |
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private it.ozimov.springboot.mail.service.EmailService AdeyTrack.controller.SearchController.emailService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 2 of type [it.ozimov.springboot.mail.logging.EmailLogRenderer]: : Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571) | |
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) | |
... 17 common frames omitted | |
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEmailService' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/service/defaultimpl/DefaultEmailService.class]: Unsatisfied dependency expressed through constructor argument with index 2 of type [it.ozimov.springboot.mail.logging.EmailLogRenderer]: : Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) | |
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) | |
... 19 common frames omitted | |
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sanitizedEmailLogRenderer' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/logging/defaultimpl/SanitizedEmailLogRenderer.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [it.ozimov.springboot.mail.logging.EmailRenderer]: : Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>(); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) | |
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) | |
... 32 common frames omitted | |
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailRendererConfiguration' defined in URL [jar:file:/home/ihtasham/.gradle/caches/modules-2/files-2.1/it.ozimov/spring-boot-email-core/0.6.2/eb601aa6537293879c59d5ab17c09775185de631/spring-boot-email-core-0.6.2.jar!/it/ozimov/springboot/mail/configuration/EmailRendererConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1139) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1063) | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961) | |
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) | |
... 44 common frames omitted | |
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899]: No default constructor found; nested exception is java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:85) | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098) | |
... 65 common frames omitted | |
Caused by: java.lang.NoSuchMethodException: it.ozimov.springboot.mail.configuration.EmailRendererConfiguration$$EnhancerBySpringCGLIB$$738c4899.<init>() | |
at java.lang.Class.getConstructor0(Class.java:3082) | |
at java.lang.Class.getDeclaredConstructor(Class.java:2178) | |
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:80) | |
... 66 common frames omitted | |
:bootRun FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':bootRun'. | |
> Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 1 | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
BUILD FAILED | |
Total time: 15.018 secs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment