Eclipse import Maven project from git

1. On the first day of joining the new company, because I used svn to manage the code version before, I didn't know much about git.

I won't introduce the characteristics of git first, but briefly talk about the stupid way I finally figured out.

Eclipse is required to create two workspaces, one for maven projects and one for git projects

First, Eclipse imports the git project,

Then Eclipse creates another workspace to import the maven project. Note that the code is consistent with the git project path.

Eclipse integrates git to manage code version using: pull commit push 

 

2. After the maven project was imported today, the jar package was not updated completely, and the manager provided a new settings.xml file to solve it

 

3.hosts file domain name mapping

 

4. Tomcat starts the web project, and the default path can be modified in the server.xml of the corresponding server

<!-- Delete the default root path specified by path--> 
<
Context docBase ="****" path ="" reloadable ="true" source ="org.eclipse.jst.j2ee.server:purchasing-admin" /></ Host >

5. For newly imported projects in Eclipse, for jsp, js, css and other errors, all validations can be disabled

Guess you like

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