java - How can I fix package errors when compiling with Play Framework. Getting error: package redis.clients.jedis does not exist -
java - How can I fix package errors when compiling with Play Framework. Getting error: package redis.clients.jedis does not exist -
so next jedis in database class when seek utilize activator eclipse
command compile project after cleaning :
error: bundle redis.clients.jedis not exist import redis.clients.jedis.jedis;
the jars on build path, doesn't show me errors in eclipse itself, unit tests can save info to, , read info database.
i figure declaring packages in build or config file of sort sbt use, i'm not sure should looking or should modifying; in build.sbt perhaps? if so, should set there? how build.sbt looks @ moment:
name := """myapp""" version := "1.0-snapshot" lazy val root = (project in file(".")).enableplugins(playjava) scalaversion := "2.11.1" librarydependencies ++= seq( javajdbc, javaebean, cache, javaws )
sbt doesn't know find dependency. add together line build.sbt
within librarydependencies
:
"redis.clients" % "jedis" % "2.6.0"
java playframework package sbt
Comments
Post a Comment