1. 程式人生 > >Error starting ApplicationContext. To display the conditions report re-run your application with 'de

Error starting ApplicationContext. To display the conditions report re-run your application with 'de


org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 
'upHomeController': Unsatisfied dependency expressed through field 'service'; nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 
'upService': Unsatisfied dependency expressed through field 'upHomeService'; nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 
'upHomeService': Unsatisfied dependency expressed through field 'upHomeMapper'; nested exception is
 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 
 'upHomeMapper' defined in file 
 [C:\Users\TF\IdeaProjects\upupzhu\target\classes\mappers\UpHomeMapper.xml]'. Cause: 
 org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: 
 Could not resolve type alias 'com.upupzhu.pojo.Conmments'.  Cause: java.lang.ClassNotFoundException: 
 Cannot find class: com.upupzhu.pojo.Conmments
 

type=“com.upupzhu.pojo.Conmments” 對映的表名寫錯 吸取教訓