Author Login
Post Reply
Sorry, I admit it, I didn't look at the mail archives before posting that question but I am in a rush, integrating some Groovy code with an existing Java project.
I get this error:
"MyClassName cannot be resolved to a type error" in Eclipse 3.3 and plugin 1.5.1 in my Java code calling the Groovy code:
Java file:
MyClassName aMyClassNameInstance = new MyClassName();
Groovy code:
class MyClassName {
}
Both files are in the same package.
The line "MyClassName aMyClassNameInstance = new MyClassName ()" is flagged with a red cross in the Java file, displays the error message in the popup but actually the project build OK and runs OK as well. Is it something fixed in the new version of the plugin? Is there a way to get rid of it in 1.5.1? Note: I just added the Groovy nature after the Java project was built a long time ago.
Thanks
Fred