posts - 431,  comments - 344,  trackbacks - 0
1. 下载eclipse-jee-europa-winter-win32.zip,然后解压到磁盘上。
2. 安装Groovy插件URL: http://dist.codehaus.org/groovy/distributions/updateDev/点击 Help > Software Updates > Find and Install…
3. 把GRAILS_HOME 添加到 Classpath VariablesWindows > Preferences > Java > Build Path > Classpath Variables
4. 禁用 Groovy 插件的 Class auto generate 的功能,在 Contact 右键 > Properties > Groovy Project properties > 选择 Disable Groovy Compiler Generating class Files > 点击 OK
5.配置使 Web tools 能够编辑 GSP。打开 Windows > Preference > General > Editors > File Associations,添加 *.gsp,并关联到 JSP Editor 即可配置使 Web tools 能够编辑 GSP。打开 Windows > Preference > General > Editors > File Associations,添加 *.gsp,并关联到 JSP Editor 即可。
6. 设置 Content TypesWindows > Preference > General > Content Types
现在一切就绪了。
此时如果遇到:groovy.lang.MissingMethodException: No signature of method: groovy.util.ConfigSlurper.parse() is applicable for argument types: (DataSource) values: %7BDataSource@...}错误。
则确认一下是否已经禁用Groovy 插件的 Class auto generate ,以及删除项目目录下的所有class文件。
posted on 2008-06-04 11:14 周锐 阅读(876) 评论(0)  编辑  收藏 所属分类: EclipseGroovy&Grails

只有注册用户登录后才能发表评论。


网站导航: