Netbeans IDE 9 中缺少 Groovy 和 Grail 插件 [英] Groovy and Grail plugin is missing in Netbeans IDE 9

查看:29
本文介绍了Netbeans IDE 9 中缺少 Groovy 和 Grail 插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次尝试使用 Grails.我关注了同样的帖子

解决方案

要在 NetBeans 9.0 中使用 Grails,您必须执行以下操作:

  1. 使 Groovy 和 Grails 插件可用.
  2. 安装 Groovy 和 Grails 插件.
  3. 配置Grails.
  4. 创建一个 Grails 项目.

详情如下:

第 1 步:使插件可用:

  • 工具 > 插件>点击设置标签,然后点击添加按钮.
  • 更新中心定制器对话框中:

    • 名称字段中输入一些描述性值,例如:NetBeans 8.2 Plugins
    • 输入

第 2 步:安装插件:

  • 可用插件标签中,选择并检查Groovy and Grails插件的条目.
  • 单击安装按钮安装插件,然后重新启动 NetBeans.

第 3 步:配置 Grails:

  • 工具 > 选项 > 其他 > 选择新添加的 Groovy 标签.
  • Grails Home 字段中输入您的Grails 安装位置,然后单击确定.

第 4 步:创建 Grails 项目:

  • 文件 > 新建项目 >类别 列表中选择 Groovy.
  • 项目列表中选择Grails应用程序,点击下一步>并完成向导以创建您的Grails项目.

This is the first time I am trying with Grails. I followed the same post "Why I can't create new grails application in Netbeans 8.2?" I installed Netbeans 9 beta version from https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-netbeans-java-9.0-bin.zip

But for me, Groovy/Grails plugin is not available in the plugin window. How to get grail plugin in my case?

解决方案

To use Grails with NetBeans 9.0 you must do the following:

  1. Make the Groovy and Grails plugin available.
  2. Install the Groovy and Grails plugin.
  3. Configure Grails.
  4. Create a Grails project.

Here are the details:

Step 1: To make the plugin available:

Step 2: To install the plugin:

  • In the Available Plugins tab select and check the entry for the Groovy and Grails plugin.
  • Click the Install button to install the plugin, then restart NetBeans.

Step 3: To configure Grails:

  • Tools > Options > Miscellaneous > select the newly added Groovy tab.
  • Enter the location of your Grails installation in the Grails Home field, and click OK.

Step 4: To create a Grails project:

  • File > New Project > select Groovy from the Categories list.
  • Select Grails Application from the Projects list, click Next > and complete the wizard to create your Grails project.

这篇关于Netbeans IDE 9 中缺少 Groovy 和 Grail 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆