2020年06月05异常记录:
1、六月 05, 2020 3:08:55 下午 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet [SpringMVCDemo] in web application [/SpringMVCLearn2] threw
load() exception
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler
for XML schema namespace [http://www.springframework.org/schema/tx]
Offending resource: file [F:\Softwares\JAVA64bit\apache-tomcat-8.5.54\webapps
\SpringMVCLearn2\WEB-INF\classes\spring-service.xml]
解决:少了一个名为spring-tx.jar的包
2、异常信息
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\Softwares\JAVA64bit
\apache-tomcat-8.5.54\webapps\SpringMVCLearn2\WEB-INF\classes\spring-dao.xml]: Error setting property values; nested exception is
org.springframework.beans.PropertyBatchUpdateE