Unresolved Scala SDK dependencies in IntelliJ IDEA

304 views
Skip to first unread message

Chuck Greb

unread,
Feb 10, 2015, 11:20:51 PM2/10/15
to geotrel...@googlegroups.com
After importing the project into IntelliJ for the first time I ran into an issue where IDEA was unable to resolve dependencies from the Scala SDK added by SBT.

I managed to find a workaround that I'll post below in case anyone else is running into the same problem. I tested this using IntelliJ 14.0.3 and Scala plugin version 1.3.2.

1. Open project settings and add a new Global Library (Scala SDK)


2. Choose version 2.10.4 from your local Ivy repository


3. Add the new SDK to all modules


4. Move the new global Scala SDK above the one included by SBT


Now rebuild the project and IntelliJ should be able to resolve all dependencies in the Scala SDK.

Rob Emanuele

unread,
Feb 13, 2015, 10:47:09 AM2/13/15
to geotrel...@googlegroups.com
Thanks Chuck!

We've had issues for people starting up with IntelliJ, so this will be a great reference to point to when people get stuck.

Great seeing at the code sprint. Thanks for the contributions!

Best,
Rob

--
You received this message because you are subscribed to the Google Groups "geotrellis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geotrellis-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages