Matters needing attention when importing a project in eclipse.

Organize personal notes and learn and communicate together.

1. File in the control bar of eclipse, find import and export, these two are the import and export of the project.


2. Import

1. Import the project





Follow the above steps to import the project.

2. Problems that may occur after the project is imported

    a. The first case: an error is reported after the project is imported (the correct class was not found), as shown below


    Problem/Solution: The reason for the following situation is that the JDK import fails after importing the project. You only need to manually import the correct jdk version.

    The following are the operations imported by jdk:

    first step:

    

Step 2:


third step:


Complete the above steps to resolve the issue.

    b. The second case: the Tomcat server reports an error. (No problem screenshots for now, will be added later)

    The solution is the same as the above method, just select the server runtime to add the locally downloaded Tomcat in the second step.



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324731336&siteId=291194637