错误:在存储库grailsCentral中找不到插件
当我使用Grails2.0.1运行错误:在存储库grailsCentral中找不到插件,grails,grails-2.0,Grails,Grails 2.0,当我使用Grails2.0.1运行GrailsList插件时,我遇到了下一个错误 我不支持代理。 | Environment set to development..... ApacheURLLister found URL=[http://plugins.grails.org/Community]. ApacheURLLister found URL=[http://plugins.grails.org/plugins]. ApacheURLLister found URL=[http://p
GrailsList插件时,我遇到了下一个错误
我不支持代理。
| 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.
我最近在尝试安装CloudFoundry插件时将gem更新为1.8.17版
调试步骤
我试过下列方法,但没有成功
- 删除了我的$HOME/.grails文件夹
- 删除my GRAILS_主文件夹,下载GRAILS 2.0.1并再次安装
- 我已尝试从WARE创建应用程序。同样的错误:
$grails创建应用程序dummyapp
|在/Users/sdelamo/Developer/Grails/dummyapp创建了Grails应用程序
$cd dummyapp/
$grails列表插件
|环境开始发展
|错误:在存储库中找不到插件:grailsCentral。这可能是因为存储库
在HTTP代理后面
我以前在同一台机器上使用过Grails2.0.1,没有任何问题 当我们将grails.org网站切换到新服务器时,出现了一个暂时的配置错误。不过现在已经解决了。从5月22日起,3月份开始的回购行动似乎很棘手,如果你不知道的话。看
具体来说,这对我来说很有效:
repositories {
...
// grailsPlugins()
grailsRepo "http://grails.org/plugins"
...
}
应该注意的是,这与现有的2.0.1项目有关。