Problem with package references in java/kotlin project

Answered

I created a gradle project with java/kotlin jvm.

The package structure is

com.rsk.kotlin, for kotlin src

com.rsk.java, for java src

Everything looks good in pro structure, and I get no syntax errors in the editor, but I'm getting a compile error, "Unresolved reference: java" referring to rsk.com.java.

I tried 'Invalidate Caches / Restart' and it didn't help.

Any 'Ideas'?

 

0
1 comment

Please share the sample project to reproduce this issue: https://uploads.jetbrains.com.

0

Please sign in to leave a comment.