Use Java 1.8, Jesse has JDK 1.8.0.60 from Oracle.
IntelliJ Idea community edition 2016.3.3.
- File - Settings - Compiler, Java Compiler
- File - Project Structure - Project Language Level, Module - Source Tab, Language Level
- Maven
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>see this link at stack overflow
- update maven repo: Settings->Maven->Repositories - select maven's Central repo (if it's there; otherwise you should add it (http://repo.maven.apache.org/maven2/)) and press Update button.
- Maven->Importing: "VM options for importer" to -Xmx1024m (default is -Xmx512m and it's not enough).