BeanDefinitionStoreException Failed to read candidate component class

后端 未结 8 625
醉梦人生
醉梦人生 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:08

    How to solve this problem?

    Solution1:Change spring version to >= 3.2.16.

    Solution2:If your spring versin is low than 3.2.16, dont use Annotation such as :@Service @Controller and so on. Use bean.xml define a bean, the bean.xml don't contians "". if you must use please put in other bean.xml.

提交回复
热议问题