Home > Back-end >  Org. Springframework. Beans. Factory. BeanCreationException
Org. Springframework. Beans. Factory. BeanCreationException

Time:11-10

 org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'jdbcSessionByMoveImages defined in the class path resource [the applicationcontext.xml] : the Invocation of the init method failed; Nested exception is org. Springfr 
Amework. Core. NestedIOException: Failed to parse the config resource: the class path resource [mybatis. XML]; Nested exception is org. Apache. Ibatis. Builder. BuilderException: Error parsing SQL Mapper Configuration. The Cause: org. Apache. The ibatis. Logging.
LogException: Error setting Log implementation. Cause: Java. Lang. AbstractMethodError: org. Slf4j. Impl. Log4jLoggerAdapter. Log (Lorg/slf4j/Marker; Ljava/lang/String; ILjava/lang/String; [Ljava/lang/Object; Ljava/lang/Throwable;) V
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. InitializeBean (AbstractAutowireCapableBeanFactory. Java: 1710)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 583)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 502)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. Lambda $doGetBean $0 (AbstractBeanFactory. Java: 312)
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 228)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 310)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 200)
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 741)
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 868)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 549)
The at org. Springframework. Web. Servlet. FrameworkServlet. ConfigureAndRefreshWebApplicationContext (FrameworkServlet. Java: 676)
The at org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 642)
The at org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 690)
The at org. Springframework. Web. Servlet. FrameworkServlet. InitWebApplicationContext (FrameworkServlet. Java: 558)
The at org. Springframework. Web. Servlet. FrameworkServlet. InitServletBean (FrameworkServlet. Java: 499)
The at org. Springframework. Web. Servlet. HttpServletBean. Init (HttpServletBean. Java: 172)
The at javax.mail. Servlet. GenericServlet. Init (GenericServlet. Java: 158)
The at org. Apache. Catalina. Core. StandardWrapper. InitServlet (StandardWrapper. Java: 1238)
The at org. Apache. Catalina. Core. StandardWrapper. LoadServlet (StandardWrapper. Java: 1151)
At org. Apache. Catalina. Core. StandardWrapper. Load (1038) StandardWrapper. Java:
The at org. Apache. Catalina. Core. StandardContext. LoadOnStartup (StandardContext. Java: 5027)
The at org. Apache. Catalina. Core. StandardContext. StartInternal (StandardContext. Java: 5337)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 147)
The at org. Apache. Catalina. Core. ContainerBase. AddChildInternal (ContainerBase. Java: 725)
The at org. Apache. Catalina. Core. ContainerBase. AddChild (ContainerBase. Java: 701)
The at org. Apache. Catalina. Core. StandardHost. AddChild (StandardHost. Java: 717)
The at org. Apache. Catalina. Startup. HostConfig. DeployDirectory (HostConfig. Java: 1092)
The at org. Apache. Catalina. Startup. HostConfig $DeployDirectory. Run (HostConfig. Java: 1834)
The at Java. Util. Concurrent. Executors $RunnableAdapter. Call (511) Executors. Java:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 266)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1149)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 624)
The at Java. Lang. Thread. The run (Thread. Java: 748)


Have a great god know this how to solve

CodePudding user response:

See his information, is your XML create error when create jdbcSessionByMoveImages this bean, you check the configuration information where there are problems, there are some path of what might be the problem

CodePudding user response:

Wrote a timed tasks, the local are ok, online running up timing task, see log is inside the

CodePudding user response:

Mybatis. XML
There is such a
 & lt; ? The XML version="1.0" encoding="utf-8"?> 
PUBLIC "-//mybatis.org//DTD Config/3.0/EN"
"Http://mybatis.org/dtd/mybatis-3-config.dtd" & gt;


  • Related