IntelliJ IDEA 9.0 - 无法为 Grails 应用程序选择项目 SDK [英] IntelliJ IDEA 9.0 - unable to select project SDK for Grails application
问题描述
我确信我只是度过了糟糕的一天并且错过了一些明显的东西.我正在尝试在 IntelliJ IDEA 9.0 中创建一个新的 Grails 项目,但我无法将它与 SDK 相关联.我尝试从头开始创建一个项目并从现有源创建一个项目.无论哪种情况,我都会进入请选择项目 JDK"屏幕,我唯一的选择是:
- JSDK
- IntelliJ IDEA 插件 SDK
- 移动 SDK
- Flex SDK
- AIR SDK
- Flexmojos SDK
http://www.jetbrains.com/idea/webhelp/frameworks-support.html
I'm convinced that I'm just having a bad day and missing something obvious. I'm trying to create a new Grails project in IntelliJ IDEA 9.0 and I am unable to associate it with an SDK. I've tried creating a project from scratch and creating a project from existing sources. In either case, I get to the "Please select project JDK" screen and my only options are:
- JSDK
- IntelliJ IDEA Plugin SDK
- Mobile SDK
- Flex SDK
- AIR SDK
- Flexmojos SDK
Select project JDK http://img521.imageshack.us/img521/5793/idea1n.jpg
When I used IntelliJ IDEA 8.1.3, it would ask me the same thing and I would simply navigate to C:Grails and everything worked fine. I've even tried adding the SDK in the following locations, but to no avail.
- File -> Project Structure -> Project Settings -> Project SDK -> New
- File -> Project Structure -> Platform Settings -> SDKs -> Add New SDK
I'm missing something really obvious, right?
They Changed the way that this is done in Intellij 9.0. You are going to want to right-click on the Module and click "Add Framework Support"
This will bring up a dialog where you can select a new Groovy SDK. Choose your Grails Location and hit OK.
http://www.jetbrains.com/idea/webhelp/adding-frameworks-support.html
http://www.jetbrains.com/idea/webhelp/frameworks-support.html
这篇关于IntelliJ IDEA 9.0 - 无法为 Grails 应用程序选择项目 SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!