You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it turns out, just returning an AutowireCandidateResolver that handles just loginject dependencies and returns null for all other dependencies does not quite work.
I recently tried to use loginject in the following manner on Spring 5.3.19:
class Configuration
{
@Value("${host.url}")
String hostUrl;
@Inject
Logger logger;
}
If I added loginject to the Spring configuration injection of the field annotated with @Value no longer worked.
The text was updated successfully, but these errors were encountered:
As it turns out, just returning an
AutowireCandidateResolver
that handles just loginject dependencies and returnsnull
for all other dependencies does not quite work.I recently tried to use loginject in the following manner on Spring 5.3.19:
If I added loginject to the Spring configuration injection of the field annotated with
@Value
no longer worked.The text was updated successfully, but these errors were encountered: