BeanDefinitionStoreException Failed to read candidate component class

后端 未结 8 635
醉梦人生
醉梦人生 2020-12-05 19:20

Can someone tell me how to solve this issue?

I have narrowed down the problem to the pom.xml file. My project works but when I add the following dependency I get an

8条回答
  •  爱一瞬间的悲伤
    2020-12-05 20:12

    In my case I had dependencies that brought in the spring-asm dependency that conflicted with the latest Spring core. So in Dependency Hierarchy search for "asm" and exclude spring asm from all dependencies having it.

    My case: 1)

    
        org.restlet.jee
        org.restlet.ext.fileupload
        2.3.1
            
                    
                      org.springframework
                      spring-asm
                   
            
    
    

    2)

    
        org.restlet.jee
        org.restlet.ext.spring
        2.1.2
             
                      
                             org.springframework
                             spring-asm
                      
             
    
    

提交回复
热议问题