spring - context:component-scan takes more than 2 minutes to complete -
i new springs. tried using context:component-scan scan package like
<context:component-scan base-package="org.example">
however seems time consuming , takes more 2 minutes. there way improve performance
if have lot of classes it's normal take long. scan classes should not scanned. can optimise scan packages need. example if have annotated controlers can scan package witch contains them. <context:component-scan base-package="org.example.web.controller">
.
Comments
Post a Comment