Value type error for spring injection

Answered

I create a DataSource using the Spring MethodInvokingFactoryBean, When i reference the bean by its id IDEA complains that the ref is of the wrong type, namely the FactoryBean. Shouldn't it reference the object returned by the call, namely the DataSource?

1 comment
Comment actions Permalink

Please report at https://youtrack.jetbrains.com/issues/IDEA with the small sample to reproduce.

0

Please sign in to leave a comment.