I have a project that has both groovy and java files in src/main/java (it is a maven project) and intellij cannot seem to compile this project. It gives errors when the java files are referencing the groovy files. I have tried the -Duse.groovyc.stub.generator=false with no luck. I am using the community edition 11.1 on Windows 7. Any help would be apprecated.