sbt - Why are new dependencies not picked up by Play 2.3.4 project in Eclipse? -


I insert my project in build.sbt with some dependencies along with the following lines Updated:

  libraryDependencies + = "mysql"% "mysql-connector-java"% "5.1.33" libraryDispension + = "org.springframework"% "spring- jdbc"% " 4.1.1.RELEASE "  

classes_managed was added to the square path, but the directory does not exist and the lbs are not present.

I deleted the Clear ad project, all errors (including all references to classes in managed labs), compile , but still directories and lbs Are unavailable.

SBT It seems that the Libs do not have to download ... it is not sure what I am doing.

dependency managed by SBT ~ / .ivy2 / cache (this is) Ends in

When you declare a project dependency with libraryDependencies you should execute update (clarify your project assembly such as package < / Code> or assembly or any other order that is pulling them down (via code, is update indirectly).

There may be a warning that you can change build.sbt without reload , which is a SBT server You must read the build definition again and close the SBT and start.

To see if is based on the library What is in use is Show Library Dependency This is going to show you all dependencies about SBT.

Once this is done, eclipse < Run / code> which creates a file for IDE. Nah load and all should be fine.

It is equally or SBT (and partially implemented on Intelij IDEA).

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -