-------------------------------------------------------------------------------
Test set: com.mytest.shop.ShopApplicationTests
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 13.8 s <<< FAILURE! - in com.mytest.shop.ShopApplicationTests
contextLoads Time elapsed: 0.005 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\项目\myshop\target\classes\mapper\ActivityMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.zhang.ssmschoolshop.entity.Activity'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zhang.ssmschoolshop.entity.Activity
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\项目\myshop\target\classes\mapper\ActivityMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.zhang.ssmschoolshop.entity.Activity'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zhang.ssmschoolshop.entity.Activity
Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [D:\项目\myshop\target\classes\mapper\ActivityMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.zhang.ssmschoolshop.entity.Activity'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zhang.ssmschoolshop.entity.Activity
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.zhang.ssmschoolshop.entity.Activity'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zhang.ssmschoolshop.entity.Activity
Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.zhang.ssmschoolshop.entity.Activity'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zhang.ssmschoolshop.entity.Activity
Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.zhang.ssmschoolshop.entity.Activity'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.zhang.ssmschoolshop.entity.Activity
Caused by: java.lang.ClassNotFoundException: Cannot find class: com.zhang.ssmschoolshop.entity.Activity