Is there some way to use @Autowired with static fields. If not, are there some other ways to do this?
@Autowired
Wanted to add to answers that auto wiring static field (or constant) will be ignored, but also won't create any error:
@Autowired private static String staticField = "staticValue";