Grails 3.0.1在Eclipse中添加显示错误指定的目录似乎不是Grails安装 [英] Grails 3.0.1 add in Eclipse show error Specified directory does not appear to be a Grails installation

查看:100
本文介绍了Grails 3.0.1在Eclipse中添加显示错误指定的目录似乎不是Grails安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Eclipse中安装/导入Grails 3.0.1时,我收到错误消息
指定的目录似乎不是Grails安装。

When I try to install/import Grails 3.0.1 in Eclipse I get error message "Specified directory does not appear to be a Grails installation".

我已经安装了Groovy Compiler 2.4.3。但是仍然会收到相同的错误消息。

I already have installed Groovy Compiler 2.4.3. but still get same error message.

如何在Eclipse 4.4中安装Grails 3.0.1?

How I can install Grails 3.0.1 in Eclipse 4.4?

推荐答案

在grails文件夹中,您可以放置​​一个文件build.properties,

At grails folder you can put a file "build.properties",

/grails-3.0.1/build.properties
             /install
             /license
             /.......

该文件的内容是单行grails.version = 3.0.1,没有引号。 : - )

the content of this file is a single line "grails.version=3.0.1", without quotes. :-)

现在eclipse会将其识别为Grails安装。

Now eclipse will recognize it as Grails installation.

关于

这篇关于Grails 3.0.1在Eclipse中添加显示错误指定的目录似乎不是Grails安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆