Groovy and Grail plugin is missing in Netbeans IDE 9

邮差的信 提交于 2019-12-01 04:30:31

问题


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?


回答1:


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:

  • Tools > Plugins > click the Settings tab, then click the Add button.
  • In the Update Center Customizer dialog:

    • Enter some descriptive value in the Name field, such as: NetBeans 8.2 plugins
    • Enter http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz in the URL field, and click OK.

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.


来源:https://stackoverflow.com/questions/54490958/groovy-and-grail-plugin-is-missing-in-netbeans-ide-9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!