neo4j-examples / movies-java-bolt

Neo4j Movies Example application with SparkJava backend using the neo4j-java-driver

Home Page:http://my-neo4j-movies-app.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation failed: cannot find IteratorUtil from org.neo4j.helpers.collection

rikwasmus opened this issue · comments

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project neo4j-movies: Compilation failure
.../projects/neo4j-movies-java-bolt/src/main/java/example/movies/backend/MovieService.java:[5,36] cannot find symbol
  symbol:   class IteratorUtil
  location: package org.neo4j.helpers.collection

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

@rikwasmus you should change IteratorUtil on MovieService.java to Iterators.
and import org.neo4j.helpers.collection.Iterators;
because IteratorUtil only on version 2.3.3, but it was remove on version 3.x

good find, I'll fix it

@rikwasmus I am still not getting the package org.neo4j.helpers.collection.Iterators. I am using spring-data-neo4j:4.1.2.RELEASE

mvn clean install works for me on a clean checkout.

On Sat, Aug 20, 2016 at 10:31 AM, Anshul Goel notifications@github.com
wrote:

@rikwasmus https://github.com/rikwasmus I am still not getting the
package org.neo4j.helpers.collection.Iterators. I am using
spring-data-neo4j:4.1.2.RELEASE


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEHYxXFwti1iI1gIMWV05AnJXqq-g0Vks5qhrtJgaJpZM4ILKUy
.

@jexp Did all the cleaning and refreshing, but its not showing the helpers package.