org.apache.cxf.tools.common.ToolException: java.lang.reflect.UndeclaredThrowableException

nabble.com | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    cxf-issues - CXF Premature End Of File ?

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

    wsdl2java fails on complex service generation

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

    cxf-user - Exceptions in creating stubs for Web Services

    nabble.com | 1 year ago
    org.apache.cxf.tools.common.ToolException: java.lang.reflect.UndeclaredThrowableException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug 175436 – [68cat] JAXB not working

    netbeans.org | 1 year ago
    java.lang.reflect.UndeclaredThrowableException
  6. 0

    jaxws-maven-plugin 2.2 Failure with NoSuchMethodError()

    codedmi.com | 1 year 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]
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:1937)
    1 frame
  3. Old JAXB XJC
    TypedAnnotationWriter.invoke
    1. com.sun.codemodel.TypedAnnotationWriter.invoke(TypedAnnotationWriter.java:108)
    1 frame
  4. Unknown
    $Proxy38.required
    1. $Proxy38.required(Unknown Source)
    1 frame
  5. Old JAXB XJC
    SingleField.<init>
    1. com.sun.tools.xjc.generator.bean.field.AbstractField.annotateReference(AbstractField.java:187)
    2. com.sun.tools.xjc.generator.bean.field.AbstractField.annotate(AbstractField.java:156)
    3. com.sun.tools.xjc.generator.bean.field.AbstractFieldWithVar.createField(AbstractFieldWithVar.java:75)
    4. com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:89)
    5. com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:76)
    5 frames
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  7. Old JAXB XJC
    SchemaCompilerImpl.bind
    1. com.sun.tools.xjc.generator.bean.field.GenericFieldRenderer.generate(GenericFieldRenderer.java:64)
    2. com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:79)
    3. com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:759)
    4. com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:540)
    5. com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java:243)
    6. com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:161)
    7. com.sun.tools.xjc.model.Model.generateCode(Model.java:286)
    8. com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:252)
    9. com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
    9 frames
  8. Apache CXF Command Line Tools WSDLTo JAXB Databinding
    JAXBDataBinding.initialize
    1. org.apache.cxf.tools.wsdlto.databinding.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:381)
    1 frame
  9. Apache CXF Command Line Tools WSDLTo Core
    WSDLToJavaContainer.execute
    1. org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.generateTypes(WSDLToJavaContainer.java:573)
    2. org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:228)
    3. org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:128)
    4. org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:271)
    4 frames
  10. Apache CXF Command Line Tools Common
    ToolRunner.runTool
    1. org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
    1 frame
  11. Apache CXF Command Line Tools WSDLTo Core
    WSDLToJava.main
    1. org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
    2. org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
    3. org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:184)
    3 frames