[infinispan-issues] [JBoss JIRA] (ISPN-4269) Infinispan quickstarts clustered-cache does not compile

Shaun Appleton (JIRA) issues at jboss.org
Wed May 7 18:28:57 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaun Appleton resolved ISPN-4269.
----------------------------------

    Fix Version/s: 6.0.2.Final
       Resolution: Done


> Infinispan quickstarts clustered-cache does not compile
> -------------------------------------------------------
>
>                 Key: ISPN-4269
>                 URL: https://issues.jboss.org/browse/ISPN-4269
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Demos and Tutorials
>    Affects Versions: 6.0.2.Final
>            Reporter: Shaun Appleton
>            Assignee: Shaun Appleton
>             Fix For: 6.0.2.Final
>
>
> Using https://github.com/infinispan/infinispan-quickstart and trying to build the clustered-cache example I get the following compilation error-
> [sappleto at 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



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list