Information:java: Errors occurred while compiling module 错误

在用 IDEA 启动 tomcat 时 发现项目编译报错,如图所示

image

于是安装网上的方法把 JDK 版本都改了一下

image

image

image

改完之后按照道理来说,应该编译通过的,但是我就想,编译不通过肯定跟 IDEA 的配置有关,那么在哪里改跟 Java 编译有关的配置呢?于是我就找到了 File ——》Settings——》 Build Execution Deployment ——》Complier——》 Java Complier 这个地方,就在这里改,当我把下图中的 Module 移除之后,再次编译就通过了。imageInformation:java: Errors occurred while compiling module 'mall'

记录一下,以防忘记

posted @ 2020-01-29 10:26  train99999  阅读(7726)  评论(0编辑  收藏  举报