简体   繁体   English

解析失败 SDK

[英]Failed to resolve SDK

On my first post I am using Inteliij and I have problem with my project.在我的第一篇文章中,我使用的是 Inteliij,但我的项目有问题。 I was make project in Spring Boot.我在 Spring Boot 中创建项目。 All works fine on this computer.在这台电脑上一切正常。 Today when I copy this project from my computer to another I have a trouble when i try run project with "Failed to resolve SDK try to Find SDK".今天,当我将此项目从我的计算机复制到另一台计算机时,当我尝试使用“无法解析 SDK 尝试查找 SDK”运行项目时遇到了麻烦。 When i click on blue link, it dosn't work.当我点击蓝色链接时,它不起作用。 information about problem .有关问题的信息。

I am checking Settings=>build..=>compiler=>java compiler.我正在检查 Settings=>build..=>compiler=>java compiler。 java compiler and project structure=>SDKs. java 编译器和项目结构=>SDKs。 SDK All looks like good. SDK一切看起来都很好。 I don't have any idea why this dosn't work.我不知道为什么这不起作用。 Maybe someone have similar problem and You know how to solve this issue.也许有人有类似的问题,你知道如何解决这个问题。

Thanks.谢谢。

EDIT: GatePass编辑:门禁

Your Intellij is set to use the SDK but your project isn't.您的 Intellij 设置为使用 SDK 但您的项目不是。 File -> Project structure -> Project -> Project SDK文件 -> 项目结构 -> 项目 -> 项目 SDK 在此处输入图像描述

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

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