1.IDEA新建项目
File->new->Project->选择Spring Initializer->next->输入group和artifact->
next->选择依赖lombok、Jersey、Spring Data JPA->next->填入项目名,选择位置->finish
注意配置maven的setting文件,使用aliyun镜像(不然会超级慢)
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>D:\apache-maven-3.5.3\bofan-repository</localRepository>
<mirrors>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>