Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What are the difficult problems in the use of IDEA?

Shulou Source: shulou.com Published: 2022-06-01 17:35:13 10月03日 Update

IDEA is difficult to solve in the process of using which problems, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

1. Each time a new Project project is imported, the configured maven is restored to the default state

If the version of idea is older, you will see something like this.

Then modify the Maven configuration.

two。 After creating or importing a Maven project, it is always prompted when writing code that Java8 is not supported, and the compiler cannot find that the compiled version is a version prior to 1.8 by looking at settings-> java compiler.

Solution: add the JDK version to pom.xml

1.8

${java.version}

${java.version}

Or

Org.apache.maven.plugins

Maven-compiler-plugin

1.8

1.8

3. The parent directory of the imported project is not a Maven Parent directory but a normal folder, and the child maven projects in it are not recognized

4. After modifying the pom.xml, it is found that the dependent package is still missing.

5. Sometimes I suddenly find that a class under a dependent package can not be found, click to find that it exists, and how to refresh the Maven project does not work, and other strange comprehensive solutions

It clears the cache information from previous project records (only after confirmation)

6. Create a new directory and find that the project directory is automatically aggregated.

Click it to make the project directory present as a single directory, without aggregating as follows

7. It's too troublesome to open a new Idea window every time you create a new project.

You can create a new Maven project or import an existing one here.

8. Create a Spring Boot project when Baidu copy and paste?

One is that you can use the initialization Spring project website to build a Spring Boot project

The other is directly through idea.

9. How to open the directory structure where the current class is located

Modifying the access path does not take effect when the 10.Tomcat war package is deployed

In fact, what we need to modify is

After 11.implements Serializable, it is found that the current class cannot automatically generate serialized ID.

The 12.Debug operation button is missing.

Right-click Debug button

13. Shortcut key conflict

14. The display of project directory and file structure is chaotic.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Project directory time version problem button file scheme structure solution help support compilation configuration process common clear messy code function Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Apple Microsoft vpn NVidia