java - How can I fix package errors when compiling with Play Framework. Getting error: package redis.clients.jedis does not exist -
So when I try to use activator Eclipse
To get the following, after clearing it, order my compilation order:
error: package redis.clients.jedis import redis.clients.jedis.jedis does not exist;
The Jar is on the build path, it does not show any error in Eclipse, the unit test can successfully save the data and read the data from the database.
I believe that to use this, there is something to declare packages in a build or config file of some kind of SBT, but I'm not sure where I should look or I What should be modified; Maybe something in build.sbt? If so, what should I be kept there? This way build.sbt looks at this time:
name: = "" myApp "" version: = "1.0-SNAPSHOT" lazy wall root = (file in the project ("." Enabled Plagiarize Scale Version: = "2.11.1" LibraryDePresence ++ = Seek (JavaEZDBC, Java Eben, Cache, JavaWise)
SBT does not know where to extract dependence from this line in its build.sbt
in libraryDependencies
Add:
"redis.clients"% "Jedis"% "2.6.0"
Comments
Post a Comment