79179938

Date: 2024-11-12 06:06:23
Score: 4.5
Natty: 4
Report link

For @componentScan, One of basePackageClasses(), basePackages() or its alias value() must be specified

Check this: https://docs.spring.io/spring-framework/docs/3.1.4.RELEASE/javadoc-api/org/springframework/context/annotation/ComponentScan.html#basePackageClasses%28%29

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @componentScan
  • Low reputation (1):
Posted by: amit