Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of idea usage

2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains the "summary of the use of idea", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn the "summary of the use of idea"!

1. The open of idea opens the java project by default, and import is required for the gradle project.

2. Run/debug Configuration needs to select the option main, and the compilation output path needs to be modified.

3. There will be the following error when refreshing gradle

Phenomenon idea encountered the following error when opening the gradle project: Error:The newly created daemon process has a different context than expected.Java home is different.Expecting:'C:\ Program Files\ Java\ jdk1.7.0_40' but was:'C:\ Program Files\ Java\ jdk1.7.0_40\ jre'.Please configure the JDK to match the expected one. Problem analysis All i understood is gradle is using JRE and IDEA is using JDK and due to that two JAVA_HOME's are different and giving errors. It has nothing to do with gradle version: I am using Intellij 15.06, what solved my problem is just go to the directory, JAVA_HOME > jre > lib, and rename the tool.jar to tool.jar.bak, and then try to start a project or import a project again, at last, do not forget to rename it back to tool.jar.

4. Depending on the package update, it needs to be reintroduced, but the new package cannot be downloaded automatically after the old package is deleted, even if the idea is restarted. In fact, the method of re-download is very simple. Right click on the project-> maven- > reimport.

Thank you for your reading, the above is the content of the "summary of the use of idea", after the study of this article, I believe you have a deeper understanding of the summary of the use of idea, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report