#最新
Springboot运行保存 Parameter 0 of constructor in com.mudaima.modules.system.rest.DictDetailController required a bean of type ‘com.mudaima.modules.system.service.DictDetailService’ that could not be found.

2023-06-15 0 1,115

今天调试springboot项目,更新项目以后,新增了许多java类,运行application来启动项目时报错

Parameter 0 of constructor in com.mudaima.modules.system.rest.DictDetailController required a bean of type ‘com.mudaima.modules.system.service.DictDetailService’ that could not be found.
1、刚开始以为是文件DictDetailService不存在,结果不是,删除再导入后也解决不了问题。最终靠以下步骤解决:

点击界面左侧的maven管理,再点击root下的生命周期,点击clean(也可以直接控制台运行 mvn clean,一样的效果)

Springboot运行保存 Parameter 0 of constructor in com.mudaima.modules.system.rest.DictDetailController required a bean of type ‘com.mudaima.modules.system.service.DictDetailService’ that could not be found.

2、右键根项目(root),点击重新加载项目。等待加载完再运行就没问题了!!!
Springboot运行保存 Parameter 0 of constructor in com.mudaima.modules.system.rest.DictDetailController required a bean of type ‘com.mudaima.modules.system.service.DictDetailService’ that could not be found.

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

慕代码 项目相关 Springboot运行保存 Parameter 0 of constructor in com.mudaima.modules.system.rest.DictDetailController required a bean of type ‘com.mudaima.modules.system.service.DictDetailService’ that could not be found. https://www.mudaima.com/1080.html

常见问题
  • 慕代码平台上所有项目源码,都由高级工程师进行多轮测试,确保完美运行、无bug!
查看详情
  • 客服会进行运行指导,如还无法运行可联系技术远程支持,平台会员可免费调试运行,非会员会收少许调试费用!
查看详情

相关文章

发表评论
暂无评论
  • 0 +

    访问总数

  • 0 +

    会员总数

  • 0 +

    项目总数

  • 0 +

    今日发布

  • 0 +

    本周发布

  • 0 +

    运行天数

不是高价源码买不起,而是慕代码更有性价比!