问题
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:
- Make the Groovy and Grails plugin available.
- Install the Groovy and Grails plugin.
- Configure Grails.
- 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