-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Error trying to compile examples project: scala.reflect.internal.MissingRequirementError #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am on different versions (on Mac):
It compiles for me. Can you try a different Java/Scala version? |
Excellent, that fixed it, thanks very much! I installed JDK 8 and swapped to use that, and the Would you like me to mark this issue as closed, or keep it as an open issue because the examples didn't work for me on Linux on JDK 10? Note, however, that the classes that are missing, as described in issue 144, are still missing when I open the project in the IDE (IntelliJ in my case). I'll add a comment to that issue. |
@yonigibbs I think your observed issue is due to scala 2.11.11 and below's plugin does not work well with Java10: scala/scala-dev#139 (comment) |
@mjsax based on what I've got so far, we probably just need to document that if you're using J9+, you'd need to use Scala 2.12+. |
Filed #167 for this. |
Thanks for looking at this, @guozhangwang. I upgraded to 2.12.6 of Scala, but no luck I'm afraid: same error as above. I re-cloned the repo into a new folder in case that made a difference but it didn't. However for my requirements it doesn't really matter: I just wanted to get the examples up and running, and using JDK8 instead of 10 for this is fine for me. So no need to re-open this case as far as I'm concerned. Thanks again. |
Hi,
I just cloned the kafka-streams-examples project and am trying to compile it but getting this error:
scala.reflect.internal.MissingRequirementError
I noticed that I had some missing files, as described in this issue, so tried following the steps there, but it made no difference.
Here are the steps I took:
$ git clone https://github.com/confluentinc/kafka-streams-examples.git .
At this point I checked what branch I was on, as mentioned in issue 144:
Then I ran this:
In case it's of any use, here's two other bits of info:
Thanks.
The text was updated successfully, but these errors were encountered: