Spring 5, Java 8 I have multiple configuration files, one of the configuration file has @Autowire dependency. it does not complain on run time and works fine but intellij warns can't find those beans.
wondering if thats ok to have @Autowire
or @Inject
in configuration class.
why i have it is b/c its my websocket configuration and my handlers need dependencies.