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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -