import java project into eclipse

The source code library does not store the files
.settings
.classpath
.project
etc. generated by ide.

Because everyone's IDE version is different, these files will cause problems such as the project cannot run and often conflict.

download svn project

If there are any of the above files in the project, delete them, then submit them with svn, make sure that the ones on the server side are also deleted, and then create a new txt and paste the link of this article into it to prevent others from not importing it.

How to import project into eclipse

File-Import

Select the folder, select the project to import, Finish


The web project imported in this way cannot run yet, and needs to be configured

Right click on the item, last item

Modify as shown (note: your project directory structure may be different from mine, according to the actual situation)

tomcat needs to be added, otherwise javax.servlet.http will report an error

Just modify it here


Then it's ready to run.

again don't have .classpath .project .settings in svn and git

Guess you like

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