Note that there are some explanatory texts on larger screens.

plurals
  1. POsbt compile fails due to missing constructor Jedis(java.net.URI) in Jedis 2.1.0
    primarykey
    data
    text
    <p>My simple project has a library dependency on Jedis (the Java Redis library):</p> <pre><code>name := "fit001" version := "1.0-SNAPSHOT" libraryDependencies ++= Seq( javaJdbc, javaEbean, cache, "redis.clients" % "jedis" % "2.1.0" ) play.Project.playJavaSettings </code></pre> <p>I ran both <code>play update</code> and <code>play dependencies</code> successfully.</p> <pre><code>Here are the resolved dependencies of your application: +-------------------------------------------------------------------+--------------------------------------------------------+------------------------------+ | Module | Required by | Note | +-------------------------------------------------------------------+--------------------------------------------------------+------------------------------+ | redis.clients:jedis:2.1.0 | default:fit001_2.10:1.0-SNAPSHOT | As jedis-2.1.0.jar | +-------------------------------------------------------------------+--------------------------------------------------------+------------------------------+ | commons-pool:commons-pool:1.5.5 | redis.clients:jedis:2.1.0 | As commons-pool-1.5.5.jar | +-------------------------------------------------------------------+--------------------------------------------------------+------------------------------+ | com.typesafe.play:play-cache_2.10:2.2.0 | default:fit001_2.10:1.0-SNAPSHOT | As play-cache_2.10.jar | </code></pre> <p>But when I execute <code>sbt compile</code>, it reports the following issue:</p> <pre><code>[error] /Users/jkwok/Personal/play/fit001/app/com/games/leaderboard/Leaderboard.java:49: cannot find symbol [error] symbol : constructor Jedis(java.net.URI) [error] location: class redis.clients.jedis.Jedis [error] this(leaderboardName, pageSize, new Jedis(uri)); </code></pre> <p>What am I doing wrong?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload