For those interested, I figured out my problem
@Autowired tries to wire both by type and by name
If it finds multiple beans of the same type, it will act like @Resource and try to find a bean...
Type: Posts; User: lumino6; Keyword(s):
For those interested, I figured out my problem
@Autowired tries to wire both by type and by name
If it finds multiple beans of the same type, it will act like @Resource and try to find a bean...
Big typo, I didn't understand that class correctly at first ...
Fixed my first post
Hello,
I have a weird question, which is the opposite of pretty much all the questions I saw on here :P
Basically, I have an interface
public interface Manager {
Object create();
}
Wow, I just realized that for the entire day yesterday, after I removed the static to test this, I also messed up my config at the same time, so that all my tests were invalid :P
I retried to give...
I forgot to mention, I tried that too, didn't fix the problem on my Controller, since it still receives a null from the PropertiesFactoryBean
Every other property in my application works perfectly...
Hello,
I am trying to switch my application from XML config to Java config and I'm running into some problems with Properties
On a side note, I need to have a separate PropertiesFactoryBean,...