79436612

Date: 2025-02-13 15:07:08
Score: 2.5
Natty:
Report link

To make sure @Value does the autoinjection from prop file , as per me the class which is using it must be having a stereotype (as @component, @service etc) and secondingly spring manages the stuff only if class / bean is created by Spring( in other words it must not be having new Keyword )

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Value
  • User mentioned (0): @component
  • User mentioned (0): @service
  • Low reputation (0.5):
Posted by: Parameshwar