IntellJ Idea遇到Errors occurred while compiling module的解决方法

问题描述

Information:java: Errors occurred while compiling module '0-common'
Information:javac 11 was used to compile java sources
Information:2020/3/9, 11:07 下午 - Build completed with 1 error and 0 warnings in 1 s 977 ms

解决办法

查看编译环境的JDk版本是否一致 

Idea的菜单 Build,Execution,Deployment-Compliler-Java Complier的jdk版本是13

IntellJ Idea遇到Errors occurred while compiling module的解决方法_第1张图片

 

看下菜单File-Project Structure下的Project和modules的编译环境是jdk13 

IntellJ Idea遇到Errors occurred while compiling module的解决方法_第2张图片

 

IntellJ Idea遇到Errors occurred while compiling module的解决方法_第3张图片

你可能感兴趣的:(IntellJ Idea遇到Errors occurred while compiling module的解决方法)