当前位置:网站首页>IDEA无法识别module(module右下角没有蓝色小方块)
IDEA无法识别module(module右下角没有蓝色小方块)
2022-08-01 01:18:00 【Apple-yeran】
对最近遇到Idea无法识别module的总结
查了一些方法,有些方法对于我的情况并无效,故在此做一个总结。
我遇到的问题是在project下无法显示文件,如下图所示

有些博主说直接删除.idea文件夹可解决问题。但我删除之后就出现项目无法识别的情况。

这个时候我新建了一个testtest的module,idea是可以识别,打开.idea下的modules.xml文件发现刚刚创建的module出现在<modules>下。这个时候我们就可以大胆的猜测,我们把其他module下的.iml文件都在此声明是不是就成功了。

加完之后果然成功了。如果没自动成功,则点击Rebuild Module。

这里我识别后依旧无法成功运行,Idea报了一个错误,如下:

这里我们没有配置class文件的输出路径,我们根据下图设置下输出路径就可以了。

每个人情况可能都不太一样,不一定能解决你们问题,给与我一样问题的人一个参考。
边栏推荐
- 【密码学/密码分析】基于TMTO的密码分析方法
- JVM面试题总结(持续更新中)
- Inheritance Considerations
- 【数据分析】基于matlab GUI学生成绩管理系统【含Matlab源码 1981期】
- Js replication
- Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
- WindowInsetsControllerCompat is simple to use
- OSD读取SAP CRM One Order应用日志的优化方式
- Daily practice of LeetCode - Circular linked list question (interview four consecutive questions)
- 两院院士直言:不要迷信院士
猜你喜欢

Cmake introductory study notes

Introduction to machine learning how to?

Matlab/Arcgis processing nc data

MYSQL逻辑架构

JVM面试题总结(持续更新中)

You need to know the TCP wave four times

pycaret源码分析:下载数据集\Lib\site-packages\pycaret\datasets.py

how to edit the table of contents of an epub ebook

Beijing suddenly announced that yuan universe big news
![[Microservice] Distributed Transaction Solution - Seata](/img/a8/fc6c24e4d42dfb635bad786cc02164.png)
[Microservice] Distributed Transaction Solution - Seata
随机推荐
【密码学/密码分析】基于TMTO的密码分析方法
Luogu P3373: 线段树
RTL8762DK PWM(七)
蓝图:杨辉三角排列
Inheritance Considerations
TCP协议详解
RTL8762DK WDG(六)
北京突然宣布,元宇宙重大消息
OSD读取SAP CRM One Order应用日志的优化方式
RTL8762DK Lighting/LED (3)
Super like the keyboard made from zero, IT people love it
【数据分析】基于matlab GUI学生成绩管理系统【含Matlab源码 1981期】
Rasa 3.x 学习系列-使用查找表改进实体提取
Notes on how to use zeno
MYSQL Keyword Explain Analysis
RTL8762DK RTC(五)
[Microservice] Distributed Transaction Solution - Seata
STK8321 I2C (Shengjia-accelerometer) example
GDB 源码分析系列文章五:动态库延迟断点实现机制
【Cryptography/Cryptanalysis】Cryptanalysis method based on TMTO