Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » groovy class cannot be resolved to a type(eclipse groovy issues)
icon8.gif  groovy class cannot be resolved to a type [message #938188] Tue, 09 October 2012 12:38 Go to next message
Eclipse UserFriend
hello,
i'm using eclipse juno, and i installed the groovy-eclipse plugin from the marketplace. i then imported my existing maven projects which are predominantly java, with a couple of groovy classes.
but i keep getting "class cannot be resolved to a type" even after converting to groovy project.
any ideas what i'm missing?
Thanks,
Nilesh
icon10.gif  SOLVED Re: groovy class cannot be resolved to a type [message #938224 is a reply to message #938188] Tue, 09 October 2012 13:22 Go to previous message
Eclipse UserFriend
Tried to add a new groovy class, and it told me "cannot add new groovy class because of exclusions specified on build path".
bingo! went to the build path, and added "**/*.groovy" to the includes, and i'm off and running.

although! i think this is ambiguous at best, and a bug at worst:
before i added groovy, it said:
includes: **/*.java
excludes: none

if excludes was indeed none, then it should have picked up all source files in the directory. anyways, don't intend to nit-pick.

best,
Nilesh
Previous Topic:Failed to load the JNI shared library.
Next Topic:interface implemenation methods with reasonable argument names?
Goto Forum:
  


Current Time: Tue Jul 08 19:36:25 EDT 2025

Powered by FUDForum. Page generated in 0.45829 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top