compileJava can not find symbol

just ran across this problem.

i fixed this by explicitly coding in the package names.

like the op, all is fine in eclipse (it’s a gradle project in eclipse).

thanks