开发者

Groovy + Eclipse

I have a simple question regarding groovy with eclipse. I downloaded the plugin as mentioned and i didnt have problems with installations but i have c开发者_如何学Compiler errors in hello p. the problem in my opinion that eclipse isnot using the groovy compiler. but i have no idea what to do


Is the filename extension .groovy? Are you sure the project has the Groovy nature? (right-click on the project, and ensure Remove Groovy Nature appears. If Add Groovy nature appears, then the project doesn't have a groovy nature, and therefore the groovy compiler won't work).

Could you also post the file that isn't compiling. There might be something wrong with what you typed.


Make sure you are opening the file in a Groovy editor.

Look for any exceptions in your error log.

Also, just in case, you can try uninstalling and reinstalling the plugin. I'd recommend using the latest milestone version as that one is about to be promoted to 2.1.2 final.

http://dist.springsource.org/milestone/GRECLIPSE/e3.6/


I confirmed that Groovy plugin isnot workingn on mac. I tried it on 2 machines and they are giving the same error. Groovy plugin is working on windows without problems :)


NetBeans is a better option for Groovy+Java development. You can mix Java and Groovy files in a Java project in NetBeans. It also creates a distributable jar for your project. No classpath and jar issues with NetBeans created MET-INF file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜