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

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

问题描述

这是我第一次尝试Grails. 我遵循相同的帖子"为什么我不能在Netbeans 8.2中创建新的grails应用程序?" 我从 https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-netbeans-java-9.0-bin.zip

但是对我来说,Groovy/Grails插件在插件窗口中不可用.在我的情况下如何获取grail插件?

解决方案

要将Grails与NetBeans 9.0一起使用,必须执行以下操作:

  1. 提供 Groovy and Grails 插件.
  2. 安装 Groovy and Grails 插件.
  3. 配置 Grails .
  4. 创建一个Grails项目.

以下是详细信息:

第1步: 要使该插件可用:

第2步: 要安装插件:

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

第3步: 要配置Grails:

  • 工具>选项>其他> 选择新添加的 Groovy 标签.
  • Grails主页字段中输入您的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天全站免登陆