报错:

The fully qualified name of the bean's class, except if it serves only as a parent definition for 
 child bean definitions.

尝试maven搭建项目的时候,在spring-mvc.xml文件中引用类报错,网上找了一圈也没有找到方法。

原因:其实可能是jar包下载不完整,先确认jar文件下载完整,可以在以下位置看jar包能不能展开,有的无法展开,不完整的就把jar包删除重新alt+f5项目。

已解决:maven,SSM项目的spring-mvc.xm文件引用类爆红:The fully qualified name of the bean's class, except if it serv

如果还没引到jar包,就把maven dependencies加入项目:

项目右键-->properties-->Deployment Assembly -->add --> java build path entries --> next --> maven Dependencies 


相关文章:

  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2021-11-10
  • 2021-11-22
  • 2021-10-05
猜你喜欢
  • 2022-12-23
  • 2022-02-06
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2022-02-24
相关资源
相似解决方案