Home > Back-end >  Maven project local boot ok, into the war under the package on the tomcat startup error, error messa
Maven project local boot ok, into the war under the package on the tomcat startup error, error messa

Time:09-18

The 2020-09-17 11:41:37 [main: 184] - [ERROR] Context initialization failed
Org. Springframework. Beans. Factory. Parsing. BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [mybatis_config. XML]
Offending resource: the class path resource [the applicationcontext.xml]; Nested exception is org. Springframework. Beans. Factory. BeanDefinitionStoreException: IOException parsing XML document from the class path resource [mybatis_config. XML]; Nested exception is java.net.UnknownHostException: mybatis.org
At org. Springframework. Beans. Factory. Parsing. FailFastProblemReporter. Error (70) FailFastProblemReporter. Java:
At org. Springframework. Beans. Factory. Parsing. ReaderContext. Error (85) ReaderContext. Java:
At org. Springframework. Beans. Factory. Parsing. ReaderContext. Error (76) ReaderContext. Java:
The at org. Springframework. Beans. Factory. XML. DefaultBeanDefinitionDocumentReader. ImportBeanDefinitionResource (DefaultBeanDefinitionDocumentReader. Java: 259)
The at org. Springframework. Beans. Factory. XML. DefaultBeanDefinitionDocumentReader. ParseDefaultElement (DefaultBeanDefinitionDocumentReader. Java: 184)
The at org. Springframework. Beans. Factory. XML. DefaultBeanDefinitionDocumentReader. ParseBeanDefinitions (DefaultBeanDefinitionDocumentReader. Java: 169)
The at org. Springframework. Beans. Factory. XML. DefaultBeanDefinitionDocumentReader. DoRegisterBeanDefinitions (DefaultBeanDefinitionDocumentReader. Java: 142)
The at org. Springframework. Beans. Factory. XML. DefaultBeanDefinitionDocumentReader. RegisterBeanDefinitions (DefaultBeanDefinitionDocumentReader. Java: 94)
The at org. Springframework. Beans. Factory. XML. XmlBeanDefinitionReader. RegisterBeanDefinitions (XmlBeanDefinitionReader. Java: 508)
The at org. Springframework. Beans. Factory. XML. XmlBeanDefinitionReader. DoLoadBeanDefinitions (XmlBeanDefinitionReader. Java: 392)
The at org. Springframework. Beans. Factory. XML. XmlBeanDefinitionReader. LoadBeanDefinitions (XmlBeanDefinitionReader. Java: 336)
The at org. Springframework. Beans. Factory. XML. XmlBeanDefinitionReader. LoadBeanDefinitions (XmlBeanDefinitionReader. Java: 304)
The at org. Springframework. Beans. Factory. Support. AbstractBeanDefinitionReader. LoadBeanDefinitions (AbstractBeanDefinitionReader. Java: 181)
The at org. Springframework. Beans. Factory. Support. AbstractBeanDefinitionReader. LoadBeanDefinitions (AbstractBeanDefinitionReader. Java: 217)
The at org. Springframework. Beans. Factory. Support. AbstractBeanDefinitionReader. LoadBeanDefinitions (AbstractBeanDefinitionReader. Java: 188)
At org. Springframework. Web. Context. Support the XmlWebApplicationContext. LoadBeanDefinitions (XmlWebApplicationContext. Java: 125)
At org. Springframework. Web. Context. Support the XmlWebApplicationContext. LoadBeanDefinitions (XmlWebApplicationContext. Java: 94)
The at org. Springframework. Context. Support. AbstractRefreshableApplicationContext. RefreshBeanFactory (AbstractRefreshableApplicationContext. Java: 129)
The at org. Springframework. Context. Support. AbstractApplicationContext. ObtainFreshBeanFactory (AbstractApplicationContext. Java: 613)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 514)
The at org. Springframework. Web. Context. ContextLoader. ConfigureAndRefreshWebApplicationContext (ContextLoader. Java: 443)
The at org. Springframework. Web. Context. ContextLoader. InitWebApplicationContext (ContextLoader. Java: 325)
The at org. Springframework. Web. Context. ContextLoaderListener. ContextInitialized (ContextLoaderListener. Java: 107)
The at org. Apache. Catalina. Core. StandardContext. ListenerStart (StandardContext. Java: 4682)
The at org. Apache. Catalina. Core. StandardContext. StartInternal (StandardContext. Java: 5150)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 183)
The at org. Apache. Catalina. Core. ContainerBase. AddChildInternal (ContainerBase. Java: 713)
The at org. Apache. Catalina. Core. ContainerBase. AddChild (ContainerBase. Java: 690)
The at org. Apache. Catalina. Core. StandardHost. AddChild (StandardHost. Java: 695)
The at org. Apache. Catalina. Startup. HostConfig. DeployWAR (HostConfig. Java: 978)
The at org. Apache. Catalina. Startup. HostConfig $DeployWar. Run (HostConfig. Java: 1849)
The at Java. Util. Concurrent. Executors $RunnableAdapter. Call (511) Executors. Java:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 266)
At org, apache tomcat. Util. Threads. InlineExecutorService. Execute (InlineExecutorService. Java: 75)
The at Java. Util. Concurrent. AbstractExecutorService. Submit (AbstractExecutorService. Java: 112)
The at org. Apache. Catalina. Startup. HostConfig. DeployWARs (HostConfig. Java: 773)
The at org. Apache. Catalina. Startup. HostConfig. DeployApps (HostConfig. Java: 427)
The at org. Apache. Catalina. Startup. HostConfig. Start (HostConfig. Java: 1576)
The at org. Apache. Catalina. Startup. HostConfig. LifecycleEvent (HostConfig. Java: 309)
The at org. Apache. Catalina. Util. LifecycleBase. FireLifecycleEvent (LifecycleBase. Java: 123)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related