posts - 431,  comments - 344,  trackbacks - 0
          1. 下載eclipse-jee-europa-winter-win32.zip,然后解壓到磁盤(pán)上。
          2. 安裝Groovy插件URL: http://dist.codehaus.org/groovy/distributions/updateDev/點(diǎn)擊 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 > 點(diǎn)擊 OK
          5.配置使 Web tools 能夠編輯 GSP。打開(kāi) Windows > Preference > General > Editors > File Associations,添加 *.gsp,并關(guān)聯(lián)到 JSP Editor 即可配置使 Web tools 能夠編輯 GSP。打開(kāi) Windows > Preference > General > Editors > File Associations,添加 *.gsp,并關(guān)聯(lián)到 JSP Editor 即可。
          6. 設(shè)置 Content TypesWindows > Preference > General > Content Types
          現(xiàn)在一切就緒了。
          此時(shí)如果遇到:groovy.lang.MissingMethodException: No signature of method: groovy.util.ConfigSlurper.parse() is applicable for argument types: (DataSource) values: %7BDataSource@...}錯(cuò)誤。
          則確認(rèn)一下是否已經(jīng)禁用Groovy 插件的 Class auto generate ,以及刪除項(xiàng)目目錄下的所有class文件。
          posted on 2008-06-04 11:14 周銳 閱讀(899) 評(píng)論(0)  編輯  收藏 所屬分類: EclipseGroovy&Grails
          主站蜘蛛池模板: 滨海县| 离岛区| 平陆县| 东丽区| 镇宁| 南汇区| 贺州市| 太谷县| 龙岩市| 四川省| 雅安市| 甘谷县| 教育| 霍林郭勒市| 长沙县| 新竹市| 延庆县| 沙田区| 武宣县| 沾化县| 宁国市| 都兰县| 宜州市| 江山市| 温泉县| 临海市| 巴里| 大足县| 密山市| 巴青县| 抚远县| 宣威市| 罗城| 孟州市| 九寨沟县| 乐都县| 合肥市| 平潭县| 丹阳市| 霍邱县| 准格尔旗|