Error adding module to project: setSdk: sdk ‘17‘ type ‘JavaSDK‘ is not registered in ProjectJdkTable

02-26 1270阅读

新安装的JDK17,但是在IDEA中新建模块的时候出现了以下错误。

Error adding module to project: setSdk: sdk ‘17‘ type ‘JavaSDK‘ is not registered in ProjectJdkTable

点击file—>Project Structure

Error adding module to project: setSdk: sdk ‘17‘ type ‘JavaSDK‘ is not registered in ProjectJdkTable

SDK选择自己安装的JDK

Error adding module to project: setSdk: sdk ‘17‘ type ‘JavaSDK‘ is not registered in ProjectJdkTable

SDK选择自己安装的JDK

Error adding module to project: setSdk: sdk ‘17‘ type ‘JavaSDK‘ is not registered in ProjectJdkTable

参考链接:

https://www.cnblogs.com/maxzhangxiaotao/p/17334485.html

VPS购买请点击我

文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。

目录[+]