Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.1.2Release
-
Fix Version/s: 2.5.0Release
-
Component/s: Build and distribution
-
Labels:None
-
Number of attachments :
Description
All my Groovy classes don't compile anymore. It says:
"... cannot be resolved to a type"
Some errors I have seen:
- Semikolons are required
- parethesis are required when calling methods
- method names including spaces are not supported
Even when removing the Groovy nature from the project it still tries to compile the Groovy files, resulting in the above errors.
Looks like it uses the Java compiler to compile Groovy classes.
I first have seen it in 2.1.2.xx-20110117-1900-e36 (but it could also be an ealier version). It's still there in 2.1.2.xx-20110118-1300-e36.
There is another strange thing. I removed the current Groovy Eclipse plugin version and reverted to an older one.
In "About Eclipse" -> "Installation Details" it shows the older version.
Under the "About Eclipse" -> "Groovy" button it shows the newer version.