org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in file [C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\Atcrowdfunding-main\WEB-INF\classes\spring\spring-context.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error registering typeAlias for ‘user’. Cause: java.lang.ClassNotFoundException: Cannot find class: User
user类找不到,可以将相关配置先注释掉