Why I get a UnsatisfiedDependencyException when using environmental variable JWT_SECRET in spring boot application?

I already delcared AuthContreller is RestController, all Beans are decleard but why we get a error ?
wehen we use application.yaml we dont have any errors but when we use Environmental variables I get a error ?