1. The maven configuration is restored to the default state each time a new Project is imported

This is what you would see if you had an older version of IDEA

Then modify the Maven configuration

2. After creating or importing a Maven project, you will always be prompted to write code that does not support Java8 and will fail to compile

We looked at Settings -> Java Compiler and found that the compiled version was prior to 1.8

Solution: Add the JDK version to POM.xml

    <properties>
        <java.version>1.8</java.version>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
    </properties>
Copy the code

or

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
Copy the code

3. The import project Parent directory is not the Maven Parent directory, but a normal folder. The child projects in the folder are not recognized

4. After modifying pom. XML, the dependent package still does not exist

5. Sometimes you suddenly find that you can’t find a class under a package you depend on. Click to find that it exists, and how to refresh the Maven project does not work, etc

It clears the cache of previous project records (used only after confirmation)

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

Clicking on it renders the project catalog as a single catalog, without the following aggregation

7. It is troublesome to re-open an Idea window every time a new project is created

Create a new Maven project here or import an existing Maven project

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

One is that you can use the Initialization Spring Project site to build a Spring Boot project

The other is directly through IDEA

9. How do I open the directory structure where the current class resides

10. Changing the access path during Tomcat WAR package deployment does not take effect

What we actually need to fix is

11. Implements Serializable Class cannot automatically generate a serialized ID

12. The Debug button is missing

Right click Debug button

13. Shortcut key conflicts

14. Project directory and file structure display disorder

It will be added later