fozziethebeat / S-Space

The S-Space repsitory, from the AIrhead-Research group
GNU General Public License v2.0
203 stars 106 forks source link

maven failure #46

Closed ivogersberg closed 10 years ago

ivogersberg commented 10 years ago

dear S-SPace team,

any help?

using : Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 12:22:22-0300) Maven home: /usr/local/apache-maven/apache-maven-3.1.1 Java version: 1.6.0_32, vendor: Sun Microsystems Inc. Java home: /usr/local/openjdk6/jre Default locale: en_US, platform encoding: UTF-8 OS name: "freebsd", version: "9.1-release-p15", arch: "amd64", family: "unix"

openjdk version "1.6.0_32" OpenJDK Runtime Environment (build 1.6.0_32-b27) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

thanks a lot, ivo

INFO] ------------------------------------------------------------------------ [INFO] Building S-Space Package 2.0.4 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ sspace --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sspace --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /usr/home/ivo/S-Space/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ sspace --- [INFO] Compiling 662 source files to /usr/home/ivo/S-Space/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /usr/home/ivo/S-Space/src/main/java/edu/ucla/sspace/graph/Fanmod.java:[175,27] cannot find symbol symbol : method add(edu.ucla.sspace.graph.isomorphism.TypedIsomorphicGraphCounter<java.lang.Object,edu.ucla.sspace.graph.Multigraph<T,E>>) location: interface java.util.List<edu.ucla.sspace.graph.isomorphism.TypedIsomorphicGraphCounter<T,edu.ucla.sspace.graph.Multigraph<T,E>>> [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.024s [INFO] Finished at: Tue Oct 08 15:47:23 BRT 2013 [INFO] Final Memory: 18M/309M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project sspace: Compilation failure [ERROR] /usr/home/ivo/S-Space/src/main/java/edu/ucla/sspace/graph/Fanmod.java:[175,27] cannot find symbol [ERROR] symbol : method add(edu.ucla.sspace.graph.isomorphism.TypedIsomorphicGraphCounter<java.lang.Object,edu.ucla.sspace.graph.Multigraph<T,E>>) [ERROR] location: interface java.util.List<edu.ucla.sspace.graph.isomorphism.TypedIsomorphicGraphCounter<T,edu.ucla.sspace.graph.Multigraph<T,E>>> [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 [ivo@Arpoador] ~/S-Space%

davidjurgens commented 10 years ago

We've seen that in the past. :(

Some of the Java Generic code that is used in the graph library gets very complicated and certain versions of the compiler break with it. My guess is 1.6.0_32 isn't a compatible version. They're up to 1.6.0_45, so as much as I hate to recommend it, you might try upgrading Java to get the latest generics fixes in the compiler. I don't think we've seen a problem with this issue in Java 7 at all either.

On Tue, Oct 8, 2013 at 8:53 PM, ivogersberg notifications@github.comwrote:

dear S-SPace team,

any help?

using : Apache Maven 3.1.1 (0728685https://github.com/fozziethebeat/S-Space/commit/0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 12:22:22-0300) Maven home: /usr/local/apache-maven/apache-maven-3.1.1 Java version: 1.6.0_32, vendor: Sun Microsystems Inc. Java home: /usr/local/openjdk6/jre Default locale: en_US, platform encoding: UTF-8 OS name: "freebsd", version: "9.1-release-p15", arch: "amd64", family: "unix"

openjdk version "1.6.0_32" OpenJDK Runtime Environment (build 1.6.0_32-b27) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

thanks a lot, ivo

INFO]

[INFO] Building S-Space Package 2.0.4

[INFO]

[INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ sspace --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sspace --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /usr/home/ivo/S-Space/src/main/resources [INFO]

[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ sspace

[INFO] Compiling 662 source files to /usr/home/ivo/S-Space/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /usr/home/ivo/S-Space/src/main/java/edu/ucla/sspace/graph/Fanmod.java:[175,27] cannot find symbol symbol : method add(edu.ucla.sspace.graph.isomorphism.TypedIsomorphicGraphCounter>) location: interface java.util.List>> [INFO] 1 error [INFO] -------------------------------------------------------------

[INFO]

[INFO] BUILD FAILURE

[INFO]

[INFO] Total time: 6.024s [INFO] Finished at: Tue Oct 08 15:47:23 BRT 2013 [INFO] Final Memory: 18M/309M

[INFO]

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project sspace: Compilation failure [ERROR] /usr/home/ivo/S-Space/src/main/java/edu/ucla/sspace/graph/Fanmod.java:[175,27] cannot find symbol [ERROR] symbol : method add(edu.ucla.sspace.graph.isomorphism.TypedIsomorphicGraphCounter>) [ERROR] location: interface java.util.List>> [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 [ivo@Arpoador] ~/S-Space%

— Reply to this email directly or view it on GitHubhttps://github.com/fozziethebeat/S-Space/issues/46 .

ivogersberg commented 10 years ago

thanks a lot Mr Jurgens, it works with Java 7.

hugs.