# compileJava can not find symbol

**URL:** <https://discuss.gradle.org/t/compilejava-can-not-find-symbol/16143>\
**Category:** Help/Discuss\
**Created:** [April 7, 2016, 6:38pm UTC](https://discuss.gradle.org/t/compilejava-can-not-find-symbol/16143 "2016-04-07T18:38:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ray\_Tayek](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/ray_tayek/32/4985_2.png) [@Ray\_Tayek](https://discuss.gradle.org/u/Ray_Tayek)\
**Post date:** [April 7, 2016, 6:38pm UTC](https://discuss.gradle.org/t/compilejava-can-not-find-symbol/16143/1 "2016-04-07T18:38:37Z")

</div>

just ran across this [problem](http://stackoverflow.com/questions/28174433/gradle-compilejava-cannot-find-symbol-from-source-file/36484392#36484392).

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
