Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipse not updating referenced libraries for my Play framework application
    primarykey
    data
    text
    <p>Since I'm eager to use Elastic Search in my Play 2 project I have read through <a href="http://www.elasticsearch.org/guide/reference/java-api/" rel="noreferrer">http://www.elasticsearch.org/guide/reference/java-api/</a> and added the dependency:</p> <p>Build.scala: </p> <pre><code>import sbt._ import Keys._ import PlayProject._ object ApplicationBuild extends Build { val appName = "test" val appVersion = "1.0-SNAPSHOT" val appDependencies = Seq( // Add your project dependencies here, "mysql" % "mysql-connector-java" % "5.1.18", "org.elasticsearch" % "elasticsearch" % "0.19.10" ) val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings( // Add your own project settings here resolvers += Resolver.url("GitHub Play2-elasticsearch Repository", url("http://cleverage.github.com/play2-elasticsearch/releases/"))(Resolver.ivyStylePatterns) ) } </code></pre> <p>The dependecy is found and downloaded, checking with play dependencies:</p> <pre><code>Here are the resolved dependencies of your application: +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | Module | Required by | Note | +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | org.elasticsearch:elasticsearch:0.19.10 | test:test_2.9.1:1.0-SNAPSHOT | As elasticsearch-0.19.10.jar | +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | org.apache.lucene:lucene-highlighter:3.6.1 | org.elasticsearch:elasticsearch:0.19.10 | As lucene-highlighter-3.6.1.jar | +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | org.apache.lucene:lucene-memory:3.6.1 | org.elasticsearch:elasticsearch:0.19.10 | As lucene-memory-3.6.1.jar | | | org.apache.lucene:lucene-highlighter:3.6.1 | | +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | org.apache.lucene:lucene-queries:3.6.1 | org.elasticsearch:elasticsearch:0.19.10 | As lucene-queries-3.6.1.jar | | | org.apache.lucene:lucene-highlighter:3.6.1 | | +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | jakarta-regexp:jakarta-regexp:1.4 | org.apache.lucene:lucene-queries:3.6.1 | | +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | org.apache.lucene:lucene-analyzers:3.6.1 | org.elasticsearch:elasticsearch:0.19.10 | As lucene-analyzers-3.6.1.jar | +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | org.apache.lucene:lucene-core:3.6.1 | org.apache.lucene:lucene-analyzers:3.6.1 | As lucene-core-3.6.1.jar | | | org.apache.lucene:lucene-queries:3.6.1 | | | | org.elasticsearch:elasticsearch:0.19.10 | | | | org.apache.lucene:lucene-memory:3.6.1 | | | | org.apache.lucene:lucene-highlighter:3.6.1 | | +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | mysql:mysql-connector-java:5.1.18 | test:test_2.9.1:1.0-SNAPSHOT | As mysql-connector-java-5.1.18.jar | +-------------------------------------------------------------------+---------------------------------------------------------+------------------------------------+ | play:play_2.9.1:2.0.3 | test:test_2.9.1:1.0-SNAPSHOT | As play_2.9.1.jar | ... </code></pre> <p>But in eclipse I can't use elasticsearch since it can't find the libraries. I'm not even able to import it.</p> <p>What am I missing here?</p>
    singulars
    1. This table or related slice is empty.
    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.
 

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