grails list-plugin
使用 grails 2.0.1运行时出现下一个错误。
我不在代理后面。
| Environment set to development.....
ApacheURLLister found URL=[http://plugins.grails.org/Community].
ApacheURLLister found URL=[http://plugins.grails.org/plugins].
ApacheURLLister found URL=[http://plugins.grails.org/Documentation].
ApacheURLLister found URL=[http://plugins.grails.org/all].
ApacheURLLister found URL=[http://plugins.grails.org/featured].
ApacheURLLister found URL=[http://plugins.grails.org/newest].
ApacheURLLister found URL=[http://plugins.grails.org/supported].
ApacheURLLister found URL=[http://plugins.grails.org/forum].
| Error No plugins found in repository: grailsCentral. This may be because the repository is behind an HTTP proxy.
我最近在尝试安装 cloud-foundry 插件时将 gem 更新到版本 1.8.17
调试步骤
我尝试了以下但没有成功。
- 删除了我的 $HOME/.grails 文件夹
- 删除我的 GRAILS_HOME 文件夹并下载 grails 2.0.1 并再次安装。
我试图从 were 创建一个应用程序。同样的错误:
$ grails create-app dummyapp
| 在 /Users/sdelamo/Developer/grails/dummyapp 创建 Grails 应用程序
$ cd 虚拟应用程序/
$ grails 列表插件
| 环境设置为开发......
| 错误在存储库中找不到插件:grailsCentral。这可能是因为存储库位于 HTTP 代理之后。
我之前在同一台机器上使用过 grails 2.0.1 没有任何问题。