context:component-scan" is not bound

后端 未结 5 919
北海茫月
北海茫月 2020-12-05 13:49

Am new to spring and I know this question has been asked many times, but I had to ask it again.

I guess,I have done appropriate namespace declarations, but still fac

5条回答
  •  醉话见心
    2020-12-05 14:17

    For All time Sake not just simply copy and past. But.

    First see that which comment you used in your xml file.Let say your xml contains the following...

    Then before you copy and past code see that what your really need in the header

    So ,Do it like this which satisfies the above configuration setting and

    Make sure you clean and build every time after you change your file !!

         
    
    
        
        
        
            
            
        
    
    
    

    Cheers! Dman!

提交回复
热议问题