0

I am new to Scala and I am trying to import a Scala project into Eclipse IDE. I am getting this error:
not found: object breeze.

The line of the error is:
import breeze.linalg._

I have added the breeze.jar but the problem is not resolve. Can anybody help me how I can fix this problem?

flavio.donze
  • 7,432
  • 9
  • 58
  • 91
ida
  • 1,011
  • 1
  • 9
  • 17

1 Answers1

1

Breeze has a lot of dependencies, and so you're better off using SBT or Maven to manage dependencies for you. If you insist, I'd recommend following the directions for adding a Maven dependency directly to Eclipse (see, e.g., How do I add a "maven dependency" in eclipse?)

And then add a dependency on breeze_2.11 version 0.11 (or _2.10 if you use scala 2.10)

dlwh
  • 2,257
  • 11
  • 23
  • Can you point me to some good tutorials to get started with Scala? – ida Jan 12 '16 at 21:17
  • not really any better than Google could. You might look at Twitter's scala school, or things on the official Scala page, or the coursera class if that's your thing. – dlwh Jan 13 '16 at 01:24