Development environment configuration document

1. Development environment and tool description

  1.      tomcat 8.5 (My project will report an error when using a version lower than this, please use a version above 8.0)
  2.      Maven 3.5
  3.      jdk 1.8 or above
  4.      mysql 5.7 (you need to change the connection string and jar package if using mysql8.0 or above)
  5.      Navicat for mysql (database management tool)
  6.      eclipse (try to use high version, low version does not have maven, use IDEA's own Baidu configuration)

Please note that all directories do not contain Chinese characters, especially configure the virtual path and project storage location

Just decompress the compressed package (maven, tomcat do not need to configure environment variables)

2. Change the maven server mirror address

Open the maven configuration file settings.xml, find the <mirrors></mirrors> node and add the following code, remember to save after adding

<mirror>
   <id>alimaven</id>
   <name>aliyun maven</name>
   <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
   <mirrorOf>central</mirrorOf>       
</mirror>

3. Configure eclipse

     1. Configure maven (select window>preferences>maven>user settings)

Click browse to find the maven configuration file, click apply and close.

Select the menu window>shon view>other, find maven and open it, verify whether the configured aliyun address is valid, if not, please check or restart eclipse

 2. Configure tomcat 8.5

   Select window>preferences>server>runtime environment in turn, click the Add button on the right, and select in the pop-up window

 

At this point, the development environment configuration is complete.

Next project configuration document:  https://blog.csdn.net/qq_28631165/article/details/109206262

   

 

Guess you like

Origin blog.csdn.net/qq_28631165/article/details/109205037