I has class like this:
@Service(\"userDetailsService\")
public class MyUserDetailsService implements UserDetailsService {
...
and trying t
@Service
extends @Component
which allows for classpath scanning
.
You can enable both classpath scanning
and annotations
I don't know what version are you using. Try this.
Unless you provide, as you do, a name, it will be the class name. But you provide the same name it would be but stating another in the config file.
If you @Service
with no name then it would be fine.