org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.9.0:generate (delcan-xml-schema-files) on project delcan-schema: Execution delcan-xml-schema-files of goal org.jvnet.jaxb2.maven2:maven-ja xb2-plugin:0.9.0:generate failed.

java.net | 2 months ago
  1. 0

    [MAVEN_JAXB2_PLUGIN-89] JDK 6: NoSuchMethodException: javax.xml.bind.annotation.XmlElementRef.required() - Java.net JIRA

    java.net | 2 months ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.9.0:generate (delcan-xml-schema-files) on project delcan-schema: Execution delcan-xml-schema-files of goal org.jvnet.jaxb2.maven2:maven-ja xb2-plugin:0.9.0:generate failed.
  2. 0

    GitHub comment 306#154338537

    GitHub | 1 year ago | MartinRumanek
    java.lang.reflect.UndeclaredThrowableException
  3. 0

    Xjc, maven-jaxb2-plugin: cryptic java.lang.NoSuchMethodException: javax.xml.bind.annotation.XmlElementRef.required() - www.scriptscoop2.com

    scriptscoop.net | 6 months ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.11.0:generate (default) on project onebusaway-nyc-tcip-api: Execution default of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.11.0:generate failed.
  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

    [jira] [Commented] (CXF-4239) WSDL2Java Task fails to generate src files Caused by: java.lang.NoSuchMethodException: javax.xml.bind.annotation.XmlElementRef.required()

    cxf-issues | 5 years ago | Freeman Fang (Commented) (JIRA)
    org.apache.cxf.tools.common.ToolException: java.lang.reflect.UndeclaredThrowableException

    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. .getDeclaredMethod( .java:1939)

      at com.sun.codemodel.TypedAnnotationWriter.invoke()
    2. Old JAXB XJC
      TypedAnnotationWriter.invoke
      1. com.sun.codemodel.TypedAnnotationWriter.invoke(TypedAnnotationWriter.java:112)
      1 frame
    3. com.sun.proxy
      $Proxy48.required
      1. com.sun.proxy.$Proxy48.required(Unknown Source)
      1 frame
    4. Old JAXB XJC
      Model.generateCode
      1. com.sun.tools.xjc.generator.bean.field.AbstractField.annotateReference(AbstractField.java:202)
      2. com.sun.tools.xjc.generator.bean.field.AbstractField.annotate(AbstractField.java:161)
      3. com.sun.tools.xjc.generator.bean.field.AbstractListField.generate(AbstractListField.java:129)
      4. com.sun.tools.xjc.generator.bean.field.UntypedListField.<init>(UntypedListField.java:112)
      5. com.sun.tools.xjc.generator.bean.field.UntypedListFieldRenderer.generate(UntypedListFieldRenderer.java:77)
      6. com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:82)
      7. com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:777)
      8. com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:558)
      9. com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java:261)
      10. com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:169)
      11. com.sun.tools.xjc.model.Model.generateCode(Model.java:290)
      11 frames
    5. org.jvnet.mjiip
      XJC22Mojo.doExecute
      1. org.jvnet.mjiip.v_2_2.XJC22Mojo.generateCode(XJC22Mojo.java:66)
      2. org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:41)
      3. org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:28)
      3 frames
    6. org.jvnet.jaxb2
      RawXJC2Mojo.execute
      1. org.jvnet.jaxb2.maven2.RawXJC2Mojo.doExecute(RawXJC2Mojo.java:318)
      2. org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:161)
      2 frames
    7. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame
    8. 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:319)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      9 frames
    9. 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
    10. 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
    11. 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