I am attempting to run a Groovy script in Eclipse but Eclipse is seemingly ignoring all of my import statements. If I hover over the errors it tells asks me to import the appropriate class (clicking on it does nothing).
I have the required 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 resolve class Bar
Any help would be appreciated.
Forgot to actually build the project. Ouch. (build automatically was turned off in Eclipse)