简体   繁体   English

错误:在IntelliJ IDEA中导入软件包

[英]Error: Importing packages in IntelliJ IDEA

I downloaded a project from github https://github.com/zohebsait/ozay-backend , opened in IntelliJ IDEA IDE. 我从githubhttps ://github.com/zohebsait/ozay-backend下载了一个项目,该项目在IntelliJ IDEA IDE中打开。 This project contains some java files in it. 该项目中包含一些Java文件。 Now I am trying to run the Application file, seems everything correct in the code but when compiling the code by right clicking Application it shows 2 errors, 现在,我正在尝试运行Application文件,似乎代码中的所有内容都正确,但是通过右键单击Application编译代码时,它会显示2个错误,

Error: "package does not exist" 错误:“程序包不存在”

but when running it it shows 100 errors. 但运行时会显示100错误。

Can anybody tell me where is the issue and fix for it? 谁能告诉我问题出在哪里并解决吗?

如果它使用maven生成项目,则应首先在终端上运行“ mvn clean install”命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM