Encoding
Setting -> File Encodings
git ignore
Use below .gitignore
https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
https://github.com/github/gitignore/blob/master/Java.gitignore
import existing projects
set folder structure
issues
issue with JDK version while building
- exception
1 |
diamond operator is not supported in -source 1.5 |
- resolution
Change the project pom.xml
https://stackoverflow.com/questions/29258141/maven-compilation-error-use-source-7-or-higher-to-enable-diamond-operator/31734791#31734791
Two options, both work the same.
Option 1,
1 |
<properties> |
Option2,
1 |
<build> |
近期评论