因为在同一个class 里面,引用了另一个注解@AllArgsConstructor 后来删除了@AllArgsConstructor,只是留下@Value ,项目正常启动 结论:@AllArgsConstructor 与 @Value 注解不能同时使用