@Value("${server.port}")报红怎么解决?原因应该是包被导成lombok的了,换成spring的包就可以了import org.springframework.beans.factory.annotation.Value;