avatar
文章
15
标签
14
分类
3

首页
文章
标签
分类
娱乐
  • 相册
  • 番剧
友链
关于
WhiteWaves
首页
文章
标签
分类
娱乐
  • 相册
  • 番剧
友链
关于

SpringBoot运行多模块项目时出现异常:程序包xxx.xxx.xxx不存在

发表于2022-08-09|更新于2022-08-09|杂七杂八
|字数总计:89|阅读时长:1分钟|阅读量:

问题

解决方法

将项目的.idea和.imi文件删除,重新导入项目,重新生成.idea和.imi文件

  • 删除文件

  • 重新导入项目

  • 选择Maven

  • 配置项目JDK

  • 重新编译项目,编译成功

参考链接

  • 项目maven依赖成功,但编译一直报错:引用项目的类路径找不到
文章作者: 白浪
文章链接: https://heyzqf.com/articles/SpringBoot运行多模块项目时出现异常:程序包xxx.xxx.xxx不存在/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 WhiteWaves!
JAVASpringBootMaven
cover of previous post
上一篇
什么是算法?
cover of next post
下一篇
Unsatisfied dependency expressed through field 'baseMapper'解决方法
相关推荐
cover
2022-10-26
Maven安装教程
cover
2022-08-09
Unsatisfied dependency expressed through field 'baseMapper'解决方法
cover
2022-11-13
SpringBoot-MyBatis-Plus(Service的CRUD接口操作:增删改操作)
cover
2022-11-12
SpringBoot定时任务@EnableScheduling注解使用方法与cron表达式
cover
2022-11-02
SpringBoot-CommandLineRunner使用详解
cover
2022-11-01
SpringBoot使用AOP实现日志记录 + Slf4j 日志配置
avatar
白浪
再努力一点
文章
15
标签
14
分类
3
Follow Me
公告
井底之蛙 , 坐井观天
目录
  1. 1. 问题
  2. 2. 解决方法
最新文章
一个完整的SpringBoot项目所需要导入的依赖与设置 与 SpringBoot项目中pom.xml文件各标签详解(持续更新中)
一个完整的SpringBoot项目所需要导入的依赖与设置 与 SpringBoot项目中pom.xml文件各标签详解(持续更新中)2022-11-15
SpringBoot-MyBatis-Plus(Service的CRUD接口操作:增删改操作)
SpringBoot-MyBatis-Plus(Service的CRUD接口操作:增删改操作)2022-11-13
SpringBoot定时任务@EnableScheduling注解使用方法与cron表达式
SpringBoot定时任务@EnableScheduling注解使用方法与cron表达式2022-11-12
SpringBoot-CommandLineRunner使用详解
SpringBoot-CommandLineRunner使用详解2022-11-02
SpringBoot使用AOP实现日志记录 + Slf4j 日志配置
SpringBoot使用AOP实现日志记录 + Slf4j 日志配置2022-11-01
©2022 - 2023 白浪
Do it all the way.

粤ICP备2022091676号 粤ICP备2022091676号-1