小z666
【问题篇】conflicts with existing, non-compatible bean definition of same name and clas
关注作者
腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
小z666
社区首页
>
专栏
>
【问题篇】conflicts with existing, non-compatible bean definition of same name and clas
【问题篇】conflicts with existing, non-compatible bean definition of same name and clas
小z666
关注
发布于 2024-06-21 17:34:39
发布于 2024-06-21 17:34:39
1.1K
0
举报
文章被收录于专栏:
java
java
微服务架构项目时,不同子模块可能有相同类名的文件时,编译了其中一个模块的代码,再编译另一个有相同类名的模块时就会报此错。
解决办法:删除项目父级的target文件,再重新编译即可。
本文参与
腾讯云自媒体同步曝光计划
,分享自作者个人站点/博客。
原始发表:2024-02-29,如有侵权请联系
cloudcommunity@tencent.com
删除
前往查看
definition
target
编译
架构
微服务
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档