一、项目报错问题的具体内容:
org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'student' defined in class path resource [applicationContext.xml]:
Unsatisfied dependency expressed through constructor parameter 1:
Ambiguous argument values for parameter of type [int] - did you specify the correct bean references as arguments?
二、解决问题
-- 不能将int类型写成java.lang.integer类型,只能写int型