org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.5:generate (oadr20a-jaxb) on project oadr2-model: Execution oadr20a-jaxb of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.5:generate failed.

GitHub | kim-toms | 3 years ago
  1. 0

    mvn package fails with UndeclaredThrowableException

    GitHub | 3 years ago | kim-toms
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.5:generate (oadr20a-jaxb) on project oadr2-model: Execution oadr20a-jaxb of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.5:generate failed.
  2. 0

    cxf-user - Exceptions in creating stubs for Web Services

    nabble.com | 11 months ago
    org.apache.cxf.tools.common.ToolException: java.lang.reflect.UndeclaredThrowableException
  3. 0

    Bug 175436 – [68cat] JAXB not working

    netbeans.org | 11 months ago
    java.lang.reflect.UndeclaredThrowableException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    wsdl2java fails on complex service generation

    GitHub | 5 years ago | ctoestreich
    org.apache.cxf.tools.common.ToolException: java.lang.reflect.UndeclaredThrowableException
  6. 0

    jaxws-maven-plugin 2.2 Failure with NoSuchMethodError()

    codedmi.com | 11 months ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.2:wsimport (default) on p roject cf-wsjavaclient: Error executing: wsimport [-keep, -s, C:\Users\sjunejo\Documents\GitHub\sandbox-ofsconnectorpoc\cf-wsjavaclient\target, -Xnoco mpile, http://localhost:9090/axis2/services/OFSConnectorServiceWS?wsdl]

  1. gaurav 1 times, last 1 week ago
  2. davidvanlaatum 4 times, last 1 week ago
  3. franky li 19 times, last 1 month ago
  4. pranavprakash 2 times, last 1 month ago
  5. ank_07 1 times, last 4 months ago
12 more registered users
27 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. java.lang.NoSuchMethodException

    javax.xml.bind.annotation.XmlElementRef.required()

    at java.lang.Class.getDeclaredMethod()
  2. Java RT
    Class.getDeclaredMethod
    1. java.lang.Class.getDeclaredMethod(Class.java:1964)
    1 frame
  3. Old JAXB XJC
    TypedAnnotationWriter.invoke
    1. com.sun.codemodel.TypedAnnotationWriter.invoke(TypedAnnotationWriter.java:108)
    1 frame
  4. com.sun.proxy
    $Proxy54.required
    1. com.sun.proxy.$Proxy54.required(Unknown Source)
    1 frame
  5. Old JAXB XJC
    SingleField.<init>
    1. com.sun.tools.xjc.generator.bean.field.AbstractField.annotateReference(AbstractField.java:192)
    2. com.sun.tools.xjc.generator.bean.field.AbstractField.annotate(AbstractField.java:161)
    3. com.sun.tools.xjc.generator.bean.field.AbstractFieldWithVar.createField(AbstractFieldWithVar.java:80)
    4. com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:94)
    5. com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:81)
    5 frames
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    3 frames
  7. Old JAXB XJC
    Model.generateCode
    1. com.sun.tools.xjc.generator.bean.field.GenericFieldRenderer.generate(GenericFieldRenderer.java:69)
    2. com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:84)
    3. com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:764)
    4. com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:545)
    5. com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java:248)
    6. com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:166)
    7. com.sun.tools.xjc.model.Model.generateCode(Model.java:290)
    7 frames
  8. org.jvnet.mjiip
    XJC22Mojo.doExecute
    1. org.jvnet.mjiip.v_2_2.XJC22Mojo.generateCode(XJC22Mojo.java:61)
    2. org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:36)
    3. org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:22)
    3 frames
  9. org.jvnet.jaxb2
    RawXJC2Mojo.execute
    1. org.jvnet.jaxb2.maven2.RawXJC2Mojo.doExecute(RawXJC2Mojo.java:271)
    2. org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:140)
    2 frames
  10. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
    1 frame
  11. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    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:318)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
    9 frames
  12. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
    3 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  14. 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:414)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
    4 frames