Exceptions to the
Javax.mail. Servlet. ServletException: servlet. [for springmvc] servlet init () throw exceptions
Org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 543)
Org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 81)
Org. Apache. Catalina. Valves. AbstractAccessLogValve. Invoke (AbstractAccessLogValve. Java: 690)
Org. Apache. Catalina. Connector. CoyoteAdapter. Service (343) CoyoteAdapter. Java:
Org. Apache. Coyote. Http11. Http11Processor. Service (615) Http11Processor. Java:
Org. Apache. Coyote. AbstractProcessorLight. Process (65) AbstractProcessorLight. Java:
Org. Apache. Coyote. AbstractProtocol $ConnectionHandler. Process (818) AbstractProtocol. Java:
Org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun NioEndpoint. Java: (1627)
Org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase. Java: 49)
Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1149)
Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 624)
Org, apache tomcat. Util. Threads. TaskThread $WrappingRunnable. Run (61) TaskThread. Java:
Java. Lang. Thread. The run (748) Thread. Java:
Root causes,
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'userController: Injection of resource dependencies failed; Nested exception is org. Springframework. Beans. Factory. NoSuchBeanDefinitionException: No qualifying bean of type 'com. XXXX. Services. UserService' available: expected at further 1 bean which qualifies as autowire candidate. The Dependency annotations: {@ javax.mail. The annotation. The Resource (shareable=true, lookup=, name=, the description=, authenticationType=CONTAINER, type=class. Java lang. Object, mappedName=)}
Org.springframework.context.annotation.Com monAnnotationBeanPostProcessor. PostProcessProperties (CommonAnnotationBeanPostProcessor. Java: 321)
Org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. PopulateBean (AbstractAutowireCapableBeanFactory. Java: 1420)
Org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 593)
Org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 516)
Org. Springframework. Beans. Factory. Support. AbstractBeanFactory. Lambda $doGetBean $0 (324) AbstractBeanFactory. Java:
Org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 226)
Org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 322)
Org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 202)
Org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 897)
Org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 879)
Org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 551)
Org. Springframework. Web. Servlet. FrameworkServlet. ConfigureAndRefreshWebApplicationContext (FrameworkServlet. Java: 702)
Org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 668)
Org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 716)
Org. Springframework. Web. Servlet. FrameworkServlet. InitWebApplicationContext (FrameworkServlet. Java: 591)
Org. Springframework. Web. Servlet. FrameworkServlet. InitServletBean (FrameworkServlet. Java: 530)
Org. Springframework. Web. Servlet. HttpServletBean. Init (HttpServletBean. Java: 170)
Javax.mail. Servlet. GenericServlet. Init (GenericServlet. Java: 158)
Org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 543)
Org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 81)
Org. Apache. Catalina. Valves. AbstractAccessLogValve. Invoke (AbstractAccessLogValve. Java: 690)
Org. Apache. Catalina. Connector. CoyoteAdapter. Service (343) CoyoteAdapter. Java:
Org. Apache. Coyote. Http11. Http11Processor. Service (615) Http11Processor. Java:
Org. Apache. Coyote. AbstractProcessorLight. Process (65) AbstractProcessorLight. Java:
Org. Apache. Coyote. AbstractProtocol $ConnectionHandler. Process (818) AbstractProtocol. Java:
Org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun NioEndpoint. Java: (1627)
Org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase. Java: 49)
Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1149)
Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 624)
Org, apache tomcat. Util. Threads. TaskThread $WrappingRunnable. Run (61) TaskThread. Java:
Java. Lang. Thread. The run (748) Thread. Java:
Root causes,
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull