Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 1st, 2010  |  syntax: None  |  size: 3.52 KB  |  views: 2,927  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [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:
  2. [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
  3. [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
  4. [ERROR] -> [Help 1]
  5. 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
  6.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
  7.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
  8.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
  9.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
  10.         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
  11.         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
  12.         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
  13.         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
  14.         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
  15.         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
  16.         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
  17.         at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
  18.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  19.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  20.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  21.         at java.lang.reflect.Method.invoke(Method.java:613)
  22.         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
  23.         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
  24.         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
  25.         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
  26. Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
  27.         at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
  28.         at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
  29.         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
  30.         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
  31.         ... 19 more
  32. [ERROR]
  33. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  34. [ERROR]
  35. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  36. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  37. [ERROR]
  38. [ERROR] After correcting the problems, you can resume the build with the command
  39. [ERROR]   mvn <goals> -rf :opennms-model
clone this paste RAW Paste Data