org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii (native2asci i-utf8) on project web: Execution native2ascii-utf8 of goal org.codehaus.mojo:na tive2ascii-maven-plugin:1.0-alpha-1:native2ascii failed: Error starting Sun's na tive2ascii:

AppFuse JIRA | RiteshKhot | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    C:\Workspace\sampleApp>cd web C:\Workspace\sampleApp\web>mvn install -e [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building AppFuse Modular Application - Web (Struts 2) 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- native2ascii-maven-plugin:1.0-alpha-1:native2ascii (native2ascii-utf8 ) @ web --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.914s [INFO] Finished at: Fri Mar 02 21:43:14 IST 2012 [INFO] Final Memory: 10M/309M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-a lpha-1:native2ascii (native2ascii-utf8) on project web: Execution native2ascii-u tf8 of goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii failed: Error starting Sun's native2ascii: sun.tools.native2ascii.Main -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii (native2asci i-utf8) on project web: Execution native2ascii-utf8 of goal org.codehaus.mojo:na tive2ascii-maven-plugin:1.0-alpha-1:native2ascii failed: Error starting Sun's na tive2ascii: at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:225) 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.buildProje ct(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje ct(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu ild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl eStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun cher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav a:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La uncher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: 352) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution native2as cii-utf8 of goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2 ascii failed: Error starting Sun's native2ascii: at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default BuildPluginManager.java:110) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:209) ... 19 more Caused by: Error starting Sun's native2ascii: at org.apache.tools.ant.taskdefs.optional.native2ascii.SunNative2Ascii.r un(SunNative2Ascii.java:67) at org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Asc ii.convert(DefaultNative2Ascii.java:54) at org.apache.tools.ant.taskdefs.optional.Native2Ascii.convert(Native2As cii.java:268) at org.apache.tools.ant.taskdefs.optional.Native2Ascii.execute(Native2As cii.java:227) at org.codehaus.mojo.native2ascii.Native2AsciiMojo.executeAnt(Native2Asc iiMojo.java:115) at org.codehaus.mojo.native2ascii.Native2AsciiMojo.execute(Native2AsciiM ojo.java:92) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default BuildPluginManager.java:101) ... 20 more Caused by: java.lang.ClassNotFoundException: sun.tools.native2ascii.Main at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass( SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm .java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm .java:230) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at org.apache.tools.ant.taskdefs.optional.native2ascii.SunNative2Ascii.r un(SunNative2Ascii.java:51) ... 26 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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutio nException C:\Workspace\sampleApp\web>

    AppFuse JIRA | 5 years ago | RiteshKhot
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii (native2asci i-utf8) on project web: Execution native2ascii-utf8 of goal org.codehaus.mojo:na tive2ascii-maven-plugin:1.0-alpha-1:native2ascii failed: Error starting Sun's na tive2ascii:
  2. 0

    Test failure during build

    GitHub | 4 years ago | bzb2
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jruby.plugins:jruby-rake-plugin:1.6.8:install-gems (gem-install-bundler) on project jruby-rack: Execution gem-install-bundler of goal org.jruby.plugins:jruby-rake-plugin:1.6.8:install-gems failed: Java returned: 1
  3. 0

    gem-maven-plugin:1.0.0-beta:exec failed: Java returned: 1

    GitHub | 4 years ago | wyne
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.0-beta:exec (default) on project platform: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.0-beta:exec failed: Java returned: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    gem-maven-plugin gem:initialize fails

    GitHub | 6 years ago | klauern
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:0.24.0:initialize (default-cli) on project ruby-maven-gems: Execution default-cli of goal de.saumya.mojo:gem-maven-plugin:0.24.0:initialize failed: Java returned: 2
  6. 0

    gem-maven-plugin:1.0.8:initialize error

    GitHub | 2 years ago | adpande
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.8:initialize (default) on project infiblaze-workscript: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.8:initialize failed: Java returned: 1

  1. Adarro 2 times, last 8 months ago
  2. davidvanlaatum 1 times, last 5 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.maven.plugin.PluginExecutionException

    Execution native2as cii-utf8 of goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2 ascii failed: Error starting Sun's native2ascii:

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo()
  2. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
    1 frame
  3. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    9 frames
  4. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames
  6. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    4 frames