Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project opennms-model: Compilation failure: Compilation failure:
- [ERROR] /root/opennms/opennms/opennms-model/src/main/java/org/opennms/netmgt/model/OnmsCriteria.java:[353,43] name clash: forClass(Class<?>) in OnmsDetachedCriteria and forClass(Class) in DetachedCriteria have the same erasure, yet neither overrides the other
- [ERROR] /root/opennms/opennms/opennms-model/src/main/java/org/opennms/netmgt/model/OnmsCriteria.java:[357,43] name clash: forClass(Class<?>,String) in OnmsDetachedCriteria and forClass(Class,String) in DetachedCriteria have the same erasure, yet neither overrides the other
- [ERROR] -> [Help 1]
- org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project opennms-model: Compilation failure
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:613)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
- Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
- at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
- at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
- ... 19 more
- [ERROR]
- [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
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <goals> -rf :opennms-model
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement