当前位置:网站首页>IDE-IDEA-问题
IDE-IDEA-问题
2022-04-22 06:32:00 【T_yoo_csdn】
.java文件右下角红色j
经过研究和查询,这主要是因为没有设置output的路径, 文件不可编译,所以在类文件下面左下角都出现红色。
File里打开project structure找到Modules,其中有个Sources,把右边第一个X点击,去掉Root路径后,重新添加,如下图所示:

specify the output path in configure project
错误是发生在从github上checkout自己的项目时。因为没有将配置文件一起上传,所以在运行java程序时有了这个报错.
其实这个错误是因为没有设置output的路径,只要修改两个地方的设置就可以了:
1. 在Modules设置里勾选”Inherit project compile path”

2. 设置Project中的”Project compiler output”
选择”Project的路径”+”\out”,比如说我的就是
版权声明
本文为[T_yoo_csdn]所创,转载请带上原文链接,感谢
https://blog.csdn.net/T_yoo_csdn/article/details/89211380
边栏推荐
- Implement data compliance and ensure data security
- Raspberry pie 4B: USB mobile hard disk box startup (beta version)
- [site building notes]: insert code snippets in wordpress blog posts and highlight them
- 通用测试技术【一】测试的分类
- Import 3D model from web page - obj / MTL file
- . net5 log4net failed to log to the database after starting for a period of time
- [Shiping information] solutions for confidentiality inspection and compliance control of recorded content
- 世平信息成功通过CMMI 3级认定
- postman中级:处理接口加解密 AES SM3 SM4
- 数据库原理课程设计——物资发放管理系统
猜你喜欢

Industry application | understand the bank's sensitive data security protection ideas from practice

web自动化:5.1selenium鼠标操作-单击、双击、右击、悬停、拖拽

China network security industry panorama of ccsip 2021 listed by Shiping information

Raspberry Pie: simulating iSCSI storage

初级测试:普通 VS 优秀

如何保护个人信息安全?@每个人,一定不要错过这份干货分享

Bert模型系列一:输入到底是什么东西呢?
web自动化:5.2selenium鼠标操作原理:ActionChains-延时调用

How to connect Kunlun on state │ G series screen with Siemens 300 domestic MPI adapter

SuperSocket在.Net5中使用——WebSocket Server篇
随机推荐
Leaders of Hangzhou commercial password Application Association and their delegation visited Shiping for information exchange
WordPress personal website construction
《数据安全法》解读及安全保密技术应用交流会在京成功举办
The practical paper of Shiping information and data security compliance testing was selected into the Chinese core journals
关于transformer机制的理解
Shiping information was listed in the panorama of China's network security market in 2021
Shiping information has successfully passed the evaluation of "capability verification of data security products" of China Academy of communications and communications
Under the window environment, VirtualBox loads the virtual machine created in the mobile hard disk
web自动化:8.1如何在浏览器发送js指令
杭州市商用密码应用协会领导一行莅临世平信息参观交流
echars动态实现散点图并自定义信息提示框
web自动化:4.2selenium如何实现iframe窗口的切换(3种方法)
世平信息成功通过CMMI 3级认定
Shiping information participated in the enterprise roadshow of Hengyang "Chuanshan forum", talked about data security and helped collaborative innovation
web自动化:6.selenium下拉选择框的操作-Select
实验6 输入输出流
web问题定位:F12,如何找到对应接口
.net WebAPI访问授权机制及流程设计(header token+redis)
[write missed scan from scratch] host discovery -- handwritten a subdomain name digger
Shiping information appeared at the China traditional Chinese medicine information conference to help build the data security system of the pharmaceutical industry