Windows
参考https://www.bilibili.com/video/av78474321/
https://www.cnblogs.com/mr-wuxiansheng/p/6850437.html
https://blog.csdn.net/u010782846/article/details/52775774
https://blog.csdn.net/qq_15872419/article/details/109080929
community导入springboot项目会有问题。建议使用企业版(IU)
git config --global user.name "name"
git config --global user.email "[email protected]"
https://www.cnblogs.com/javahr/p/9766371.html
File->Settings->Version Control->Git
C:\Program Files\Git\bin\git.exe
File->Settings->Tools->terminal
C:\Program Files\Git\git-cmd.exe
修改C:\Program Files\apache-maven-3.6.3\conf\settings.xml
C:\Users\xx\repository
alimaven
aliyun maven
http://maven.aliyun.com/nexus/content/groups/public
central
alimaven
aliyun maven
http://maven.aliyun.com/nexus/content/repositories/central/
central
alimaven
aliyun maven
http://central.maven.org/maven2
central
略
C:/Program Files/apache-maven-3.6.3
修改User settings file:maven的settings.xml的位置
C:\Program Files\apache-maven-3.6.3\conf\settings.xml
修改Local repository:settings.xml填写的repo地址。
C:\Users\xx\repository
配置jdk
位置:File->Project Structure->Platform Settings->SDKs
“+”,选JDK home path,加入1.8
配置项目jdk
位置:File->Project Structure->Project Settings->Project
修改Project SDK:1.8(没有的话检查下java有没有配好环境变量)
修改Project Language level: 选8
位置:File->Settings->Build,Execution,Deployment->Compiler->Java Compiler
修改Project bytecode version :8
位置:File->New->Project from existing sources->选项目文件夹
选择import……,选maven
mvn install
或者
mvn clean install -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -DskipTests -Dmaven.test.failure.ignore=true
生成必要的api-target,此项不需要git push到远程仓库
或离线状态(第7个按钮)下,点最左边第一个按钮,reload all maven projects(解决netconf加载不出keystore的问题)
终极情况
试一下File->Invalidate Caches/Restart 清除缓存重启 还不行就maven -> Reinport
获取提示
ctrl + space
生成UML类图
ctrl + shift + alt + u