-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Hi,
I'm on Windows 8.1 with JDK 1.8.0 and having trouble installing. Please let me know if I am doing something wrong. When I do mvn clean install I get the following error:
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.0:compile (default) on project agentspring-engine: Compiler errors : [ERROR] error at (no source information available) [ERROR] C:\Agent based modelling\trunk\agentspring-engine\src\main\java\agentspring\HPCService.java:0::0 The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.0:compile (default) on project agentspring-engine: Compiler errors : error at (no source information available) C:\Agent based modelling\trunk\agentspring-engine\src\main\java\agentspring\HPCService.java:0::0 The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.codehaus.mojo.aspectj.CompilationFailedException: Compiler errors : error at (no source information available) C:\Agent based modelling\trunk\agentspring-engine\src\main\java\agentspring\HPCService.java:0::0 The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files at org.codehaus.mojo.aspectj.AbstractAjcCompiler.execute(AbstractAjcCompiler.java:382) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more
There are also more than two hundred warnings similar to this one:
[WARNING] Could not transfer metadata org.springframework:spring-beans/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-beans/maven-metadata.xml , ReasonPhrase:Forbidden. Downloading: http://tinkerpop.com/maven2/org/springframework/spring-beans/3.0.8.BUILD-SNAPSHOT/maven-metadata.xml
And there's this (not sure if it's important):
[WARNING] Some problems were encountered while building the effective model for agentspring:agentspring-engine:jar:1.0.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-test:jar -> duplicate declaration of version ${spring.version} @ line 90, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for agentspring:agentspring-face:war:1.0.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-test:jar -> duplicate declaration of version ${spring.version} @ line 73, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.servlet:jstl:jar -> duplicate declaration of version 1.2 @ line 177, column 21
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:tomcat-maven-plugin @ line 308, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 224, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 301, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] ```