简体   繁体   English

一旦使用 IntelliJIdea 将 jdk 版本从 11 降级到 8,就无法运行 Spring 启动应用程序

[英]Can't Run Spring boot application once downgraded jdk version from 11 to 8 using IntelliJIdea

I can't run my java project once downgrade the JDK version from 11 to 8. Spring Boot maven Project and using IntelliJIdea.一旦将 JDK 版本从 11 降级到 8,我就无法运行我的 java 项目。Spring Boot maven 项目并使用 IntelliJIdea。 I've changed project settings on IntelliJIdea.我已经更改了 IntelliJIdea 上的项目设置。 error-screenshot错误截图

and project setting screenshot setting-screenshot和项目设置截图设置-截图

This is a Intellij problem.这是一个 Intellij 问题。

Delete .idea directory and *.iml file and re open the project删除.idea目录和*.iml文件,重新打开项目

You need to delete .idea directoray form your root path of project.您需要从项目的根路径中删除 .idea 目录。 also need to remove .iml file if there is.如果有,还需要删除 .iml 文件。 This problems causing in IJ tool.这个问题在 IJ 工具中引起。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM