spring @Value and @Autowired annotation not working

hi,

does any one know how to use @Value and @Autowired in vaadin component? the component is injected by vaadin system not by new.

Are you trying to use @Autowired field in a constructor?

https://stackoverflow.com/questions/56452623/why-do-i-get-nullpointerexception-with-autowired-repository-in-vaadin-springb/56453900#56453900