on 2018 Apr 19 10:06 AM
Hi, I observed that in many extension if I use @Resource annotation, it doesn't require setter method specifically. But when I create a new file say controller or facade or service, and if I use a resource say productService or flexibleSearchService, it requires a setter method without which the server startup fails with an exception that the the property doesn't have a valid setter method.
Why is that so? I'm more interested in knowing without using the setter method.
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.