I can’t inject JMix infrastructure Beans into my @Component bean in my v2 project. When I use the Inject menu to insert DataManager it insert this code;
@Component(“someclass”)
public class someclass
private final DataManager dataManager;
public someclass(DataManager dataManager) (
this.dataManager = dataManager;
. . .
If I hand code;
@Autowire
Private DataManager dataManager
On init the dataManager is NULL.