Error creating bean with name 'SqlSessionFactory' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'class path resource [tw/com/jyt/sshtestdao/entity/CostMapper.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.tarena.entity.Cost'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.tarena.entity.Cost