采用debug模式啟動總是停留在
點擊后:
鼠標放在ex上:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'regionController': Unsatisfied dependency expressed through field 'aliConstants'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertyConstants': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'aliyun.endpoint' in value "${aliyun.endpoint}"
原因是aliConstants屬性的注入失敗導致的,其根本原因是我本地配置文件沒有配置aliyun的相關信息,需要在local和dev的配置文件中進行相關配置
然后啟動,OK