Home > Back-end >  Tomcat operation error, please answer
Tomcat operation error, please answer

Time:10-07

Severe: Exception sending the context the initialized the event to the listener instance of the class org. Springframework. Web. Context. ContextLoaderListener
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'userDao defined in the file [D: \ apache tomcat - 7.0.56 \ webapps \ HMS \ WEB - INF \ classes \ com \ at \ core \ dao \ userDao class] : Could not resolve matching constructor (hint: specify the index/type/name the arguments for simple parameters to get the type ambiguities)
The at org. Springframework. Beans. Factory. Support. ConstructorResolver. AutowireConstructor (ConstructorResolver. Java: 250)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. AutowireConstructor (AbstractAutowireCapableBeanFactory. Java: 1049)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBeanInstance (AbstractAutowireCapableBeanFactory. Java: 953)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 490)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 461)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory $1. GetObject (AbstractBeanFactory. Java: 295)
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 223)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 292)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 194)
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 589)
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 932)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 479)
The at org. Springframework. Web. Context. ContextLoader. ConfigureAndRefreshWebApplicationContext (ContextLoader. Java: 383)
The at org. Springframework. Web. Context. ContextLoader. InitWebApplicationContext (ContextLoader. Java: 283)
The at org. Springframework. Web. Context. ContextLoaderListener. ContextInitialized (ContextLoaderListener. Java: 112)
The at org. Apache. Catalina. Core. StandardContext. ListenerStart (StandardContext. Java: 4994)
The at org. Apache. Catalina. Core. StandardContext. StartInternal (StandardContext. Java: 5492)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 150)
The at org. Apache. Catalina. Core. ContainerBase. AddChildInternal (ContainerBase. Java: 901)
The at org. Apache. Catalina. Core. ContainerBase. AddChild (ContainerBase. Java: 877)
The at org. Apache. Catalina. Core. StandardHost. AddChild (StandardHost. Java: 649)
The at org. Apache. Catalina. Startup. HostConfig. DeployDirectory (HostConfig. Java: 1247)
The at org. Apache. Catalina. Startup. HostConfig $DeployDirectory. Run (HostConfig. Java: 1897)
The at Java. Util. Concurrent. Executors $RunnableAdapter. Call (441) Executors. Java:
The at Java. Util. Concurrent. FutureTask $Sync. InnerRun (FutureTask. Java: 303)
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 138)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. RunTask (ThreadPoolExecutor. Java: 886)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 908)
The at Java. Lang. Thread. The run (Thread. Java: 619)
The ERROR] [localhost - startStop - 1 - Context initialization failed
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'userDao defined in the file [D: \ apache tomcat - 7.0.56 \ webapps \ HMS \ WEB - INF \ classes \ com \ at \ core \ dao \ userDao class] : Could not resolve matching constructor (hint: specify the index/type/name the arguments for simple parameters to get the type ambiguities)
The at org. Springframework. Beans. Factory. Support. ConstructorResolver. AutowireConstructor (ConstructorResolver. Java: 250)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. AutowireConstructor (AbstractAutowireCapableBeanFactory. Java: 1049)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBeanInstance (AbstractAutowireCapableBeanFactory. Java: 953)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 490)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 461)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory $1. GetObject (AbstractBeanFactory. Java: 295)
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 223)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 292)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related