Home > Back-end >  For springmvc where is wrong
For springmvc where is wrong

Time:09-15

HTTP Status 500 - Internal Server Error

Type Exception Report

Message to the Servlet init () for the Servlet [dispatcherServlet] threw the exception

Description The server encountered an unexpected condition that prevented it from fulfilling The request.

The Exception

Javax.mail. Servlet. ServletException: servlet init () for the servlet [dispatcherServlet] threw the exception
Org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 496)
Org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 81)
Org. Apache. Catalina. Valves. AbstractAccessLogValve. Invoke (AbstractAccessLogValve. Java: 650)
Org. Apache. Catalina. Connector. CoyoteAdapter. Service (342) CoyoteAdapter. Java:
Org. Apache. Coyote. Http11. Http11Processor. Service (803) Http11Processor. Java:
Org. Apache. Coyote. AbstractProcessorLight. Process (66) AbstractProcessorLight. Java:
Org. Apache. Coyote. AbstractProtocol $ConnectionHandler. Process (790) AbstractProtocol. Java:
Org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun NioEndpoint. Java: (1468)
Org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase. Java: 49)
Java. The base/Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1128)
Java. The base/Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 628)
Org, apache tomcat. Util. Threads. TaskThread $WrappingRunnable. Run (61) TaskThread. Java:
Java. The base/Java. Lang. Thread. The run (834) Thread. Java:

Root Cause

Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'org. Springframework. Web. Servlet. MVC) method. The annotation. The RequestMappingHandlerMapping' : Initialization of bean failed; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'org. Springframework. Web. Servlet. Handler. MappedInterceptor# 0', always create a inner beans' (inner beans) # 1 db73a63 'of type [org. Springframework. Web. Servlet. Handler. ConversionServiceExposingInterceptor] while setting the constructor argument; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name '(inner beans) # 1 db73a63' : always resolve a reference to the bean 'conversionService while setting the constructor argument; Nested exception is org. Springframework. Beans. Factory. NoSuchBeanDefinitionException: No bean named 'conversionService available
Org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 591)
Org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 502)
Org. Springframework. Beans. Factory. Support. AbstractBeanFactory. Lambda $doGetBean $0 (312) AbstractBeanFactory. Java:
Org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 228)
Org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 310)
Org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 200)
Org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 758)
Org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 868)
Org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 549)
Org. Springframework. Web. Servlet. FrameworkServlet. ConfigureAndRefreshWebApplicationContext (FrameworkServlet. Java: 676)
Org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 642)
Org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 690)
Org. Springframework. Web. Servlet. FrameworkServlet. InitWebApplicationContext (FrameworkServlet. Java: 558)
Org. Springframework. Web. Servlet. FrameworkServlet. InitServletBean (FrameworkServlet. Java: 499)
Org. Springframework. Web. Servlet. HttpServletBean. Init (HttpServletBean. Java: 172)
Javax.mail. Servlet. GenericServlet. Init (GenericServlet. Java: 158)
Org. Apache. Catalina. The authenticator. AuthenticatorBase. Invoke (AuthenticatorBase. Java: 496)
Org. Apache. Catalina. Valves. ErrorReportValve. Invoke (ErrorReportValve. Java: 81)
Org. Apache. Catalina. Valves. AbstractAccessLogValve. Invoke (AbstractAccessLogValve. Java: 650)
Org. Apache. Catalina. Connector. CoyoteAdapter. Service (342) CoyoteAdapter. Java:
Org. Apache. Coyote. Http11. Http11Processor. Service (803) Http11Processor. Java:
Org. Apache. Coyote. AbstractProcessorLight. Process (66) AbstractProcessorLight. Java:
Org. Apache. Coyote. AbstractProtocol $ConnectionHandler. Process (790) AbstractProtocol. Java:
Org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun NioEndpoint. Java: (1468)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related