I am trying to run a Groovy script in Eclipse, but Eclipse seems to ignore all my import statements. If I hover over errors, it tells me to import the corresponding class (clicking on it does nothing).
I have the necessary jars in my build path and class path.
Sample code, pretty standard:
package scripts.blah import foo.Bar; class FooMain { static main(String[] args){ Bar bar = new Bar(); } }
Groovy: Unable to allow Bar class
Any help would be appreciated.
smcg
source share