Home > Back-end >  SSM beginners, bugs, anyone who can help me to solve it
SSM beginners, bugs, anyone who can help me to solve it

Time:09-20



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 'org. Mybatis. Spring. SqlSessionFactoryBean# 0' defined in the class path resource [spring/applicationContext. XML] : the Invocation of the init method failed; Nested exception is org. Springframework. Core. NestedIOException: Failed to parse mapping resource: 'file [D: \ test \. Metadata \. Plugins \ org eclipse WST) server. The core \ tmp0 \ wtpwebapps \ SSM_Project01 \ WEB - INF \ classes \ mybaits \ ss XML]'. Nested exception is org. Apache. Ibatis. Builder. BuilderException: Error creating the document instance. The Cause: org. XML. Sax. SAXParseException; LineNumber: 1; ColumnNumber: 39; File an early end,
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. InitializeBean (AbstractAutowireCapableBeanFactory. Java: 1553)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 539)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 475)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory $1. GetObject (AbstractBeanFactory. Java: 304)
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 228)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 300)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 195)
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 681)
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 760)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 482)
The at org. Springframework. Web. Context. ContextLoader. ConfigureAndRefreshWebApplicationContext (ContextLoader. Java: 381)
The at org. Springframework. Web. Context. ContextLoader. InitWebApplicationContext (ContextLoader. Java: 293)
The at org. Springframework. Web. Context. ContextLoaderListener. ContextInitialized (ContextLoaderListener. Java: 106)
The at org. Apache. Catalina. Core. StandardContext. ListenerStart (StandardContext. Java: 4853)
The at org. Apache. Catalina. Core. StandardContext. StartInternal (StandardContext. Java: 5314)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 145)
The at org. Apache. Catalina. Core. ContainerBase $StartChild. Call (1408) ContainerBase. Java:
The at org. Apache. Catalina. Core. ContainerBase $StartChild. Call (1398) ContainerBase. Java:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 266)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1142)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 617)
The at Java. Lang. Thread. The run (Thread. Java: 748)
Under Caused by: org. Springframework. Core. NestedIOException: Failed to parse mapping resource: 'file [D: \ test \. Metadata \. Plugins \ org eclipse WST) server. The core \ tmp0 \ wtpwebapps \ SSM_Project01 \ WEB - INF \ classes \ mybaits \ ss XML]'. Nested exception is org. Apache. Ibatis. Builder. BuilderException: Error creating the document instance. The Cause: org. XML. Sax. SAXParseException; LineNumber: 1; ColumnNumber: 39; File an early end,
The at org. Mybatis. Spring. SqlSessionFactoryBean. BuildSqlSessionFactory (SqlSessionFactoryBean. Java: 522)
The at org. Mybatis. Spring. SqlSessionFactoryBean. AfterPropertiesSet (SqlSessionFactoryBean. Java: 381)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. InvokeInitMethods (AbstractAutowireCapableBeanFactory. Java: 1612)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. InitializeBean (AbstractAutowireCapableBeanFactory. Java: 1549)
. 21 more
Under Caused by: org. Apache. Ibatis. Builder. BuilderException: Error creating the document instance. The Cause: org. XML. Sax. SAXParseException; LineNumber: 1; ColumnNumber: 39; File an early end,
The at org. Apache. Ibatis. Parsing. XPathParser. CreateDocument (XPathParser. Java: 259)
The at org. Apache. Ibatis. Parsing. XPathParser. & lt; init> (XPathParser. Java: 125)
The at org. Apache. Ibatis. Builder. XML. XMLMapperBuilder. & lt; init> (XMLMapperBuilder. Java: 78)
The at org. Mybatis. Spring. SqlSessionFactoryBean. BuildSqlSessionFactory (SqlSessionFactoryBean. Java: 519)
. 24 more
Under Caused by: org. XML. Sax. SAXParseException; LineNumber: 1; ColumnNumber: 39; File an early end,
At com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException ErrorHandlerWrapper. Java: (203)
At com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError ErrorHandlerWrapper. Java: (177)
At com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError XMLErrorReporter. Java: (400)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull