Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sbt configuration for apache commons

There is something wrong with my sbt config.

I entered "org.apache.commons" % "commons-lang3" % "3.1"

into build.sbt, and it complains when I do sbt package.

what is the correct setting to include this lib?

like image 757
bhomass Avatar asked Oct 19 '22 23:10

bhomass


1 Answers

Summation of comments and other answers. Steps to check.

  • Try and clean and/or rebuild the project
  • Make sure that you are including the libraryDependencies += prefix and the correct syntax
  • Make sure that the maven repository is included as a resolver
  • Make sure that the version you are using actually exist. You can see the latest version here.

libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.3.2"

like image 151
Victor Axelsson Avatar answered Dec 29 '22 11:12

Victor Axelsson