1, when starting Tomcat, reported java.lang.ClassNotFoundException:org.springframework.web.util.IntrospectorCleanupListener errors, such as:
Workaround: Assembly, add, Java Build Path Entries--------right-click Properties, Deployment, Project Cies, Finish->apply, OK.
2, Saxparseexception abnormal
Org.springframework.beans.factory.BeanCreationException:Error creating Bean with Name ' Persondao ': injection of autowired dependencies failed; Nested exception is org.springframework.beans.factory.BeanCreationException:Could not autowire method:public void Com.graduation.dao.BaseDao.setMySqlSessionFactory (org.apache.ibatis.session.SqlSessionFactory); Nested exception is org.springframework.beans.factory.BeanCreationException:Error creating beans with Name ' Sqlsessionfactory ' defined in class path resource [Conf/core/database.xml]: Invocation of Init method failed; Nested exception is org.apache.ibatis.builder.BuilderException:Error creating document instance. Cause:org.xml.sax.SAXParseException; linenumber:21; columnnumber:17; Content with element type "configuration" must match "(Properties?,settings?,typealiases?,typehandlers?,objectfactory?, Objectwrapperfactory?,plugins?,environments?,databaseidprovider?,mappers?) ".
Workaround: General is the project XML configuration file syntax error, carefully check on it.
Spring MVC + MyBatis Project Error solution Rollup