IntelliJ refuses to recognise groovy script in one module, others are fine

Answered

I have groovy 2.4.3 installed and I'm developing a project with Jenkins groovy scripts. I have about 10 groovy scripts in 5 project modules.

In one module, the 2 groovy files are full of issues - it doesn't compile since groovy.c says its unable to resolve class libraries or classes, and the groovy functions are all underlined as 'symbol unresolved'.

Why this one module? It's not the root module, but AFAICT it's configured the same as the other 2 additional modules where groovy is handled fine.

 

0
1 comment
Avatar
Yaroslav Bedrov

Hello Adam,

Have you tried to run "File | Invalidate Caches"? Is it possible to open submodules as a separate project in IDE?

0

Please sign in to leave a comment.