08-02-2023, 12:06 PM
<context:component-scan base-package="com.*" />
same issue arrived , i solved it by keeping the annotations intact and in dispatcher **servlet** :: keeping the base package scan as `com.*.` this worked for me.