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 周銳 閱讀(894) 評論(0)  編輯  收藏 所屬分類: EclipseGroovy&Grails
          主站蜘蛛池模板: 雷州市| 石阡县| 辽阳县| 射洪县| 岳阳县| 外汇| 揭西县| 鄂温| 巴彦淖尔市| 鹿泉市| 黑河市| 分宜县| 乌拉特后旗| 金门县| 临高县| 安多县| 手机| 秀山| 宁河县| 南皮县| 玉门市| 大荔县| 雷波县| 封丘县| 莱阳市| 察哈| 汝州市| 平阳县| 永仁县| 靖江市| 西充县| 秦皇岛市| 象州县| 喀喇| 乌海市| 顺昌县| 新化县| 黑水县| 普兰县| 甘孜县| 清涧县|