3 Replies Latest reply on May 9, 2014 8:44 AM by dan.berindei

    Infinispan quickstarts clustered-cache is broken

    shauna

      Not sure if what is at infinispan/infinispan-quickstart · GitHub is actually the latest as I have tried building the clustered-cache example and get the following -

       

      [sappleto@localhost clustered-cache]$ mvn clean compile dependency:copy-dependencies -DstripVersion

      [INFO] Scanning for projects...

      [INFO]                                                                        

      [INFO] ------------------------------------------------------------------------

      [INFO] Building Infinispan Clustered Cache Quickstart 5.0.0-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      [INFO]

      [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ clustered-cache-quickstart ---

      [INFO] Deleting /home/sappleto/git/infinispan-quickstart/clustered-cache/target

      [INFO]

      [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ clustered-cache-quickstart ---

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 3 resources

      [INFO]

      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ clustered-cache-quickstart ---

      [INFO] Compiling 2 source files to /home/sappleto/git/infinispan-quickstart/clustered-cache/target/classes

      [INFO] -------------------------------------------------------------

      [ERROR] COMPILATION ERROR :

      [INFO] -------------------------------------------------------------

      [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol

      symbol  : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)

      location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>

      [INFO] 1 error

      [INFO] -------------------------------------------------------------

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 4.472s

      [INFO] Finished at: Tue May 06 15:36:48 BST 2014

      [INFO] Final Memory: 10M/102M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project clustered-cache-quickstart: Compilation failure

      [ERROR] /home/sappleto/git/infinispan-quickstart/clustered-cache/src/main/java/org/infinispan/quickstart/clusteredcache/Node.java:[126,13] cannot find symbol

      [ERROR] symbol  : method sort(<anonymous java.util.Comparator<java.util.Map.Entry<java.lang.String,java.lang.String>>>)

      [ERROR] location: class java.util.ArrayList<java.util.Map.Entry<java.lang.String,java.lang.String>>

      [ERROR] -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

       

      Also the README.md file refers to node1, node2 and node3 which no longer exist.