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.
Three possibilities:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With