Closed janwytze closed 7 years ago
I tested it with @Value and it is exactly the same!
@Value works in constructor arguments but not in properties!
I created a Stackoverflow question: https://stackoverflow.com/questions/46035971/spring-autowired-and-value-on-property-not-working
Solved using https://stackoverflow.com/a/46036076/1584250
For some reason I can't get property injection to work.
Property injection might not be recommended, but this might also explain that @Value isn't working.