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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via nabble.com by Unknown author, 2 years ago
java.lang.reflect.UndeclaredThrowableException
via GitHub by ctoestreich
, 2 years ago
java.lang.reflect.UndeclaredThrowableException
via Stack Overflow by Jacopo Grassi
, 3 months ago
java.lang.reflect.UndeclaredThrowableException
via nabble.com by Unknown author, 1 year ago
java.lang.reflect.UndeclaredThrowableException
java.lang.NoSuchMethodException: javax.xml.bind.annotation.XmlElementRef.required()
at com.sun.codemodel.TypedAnnotationWriter.invoke(TypedAnnotationWriter.java:108)
at undefined.$Proxy38.required(Unknown Source)
at com.sun.tools.xjc.generator.bean.field.AbstractField.annotateReference(AbstractField.java:187)
at com.sun.tools.xjc.generator.bean.field.AbstractField.annotate(AbstractField.java:156)
at com.sun.tools.xjc.generator.bean.field.AbstractFieldWithVar.createField(AbstractFieldWithVar.java:75)
at com.sun.tools.xjc.generator.bean.field.SingleField.(SingleField.java:89)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at com.sun.tools.xjc.generator.bean.field.GenericFieldRenderer.generate(GenericFieldRenderer.java:64)
at com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:79)
at com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:759)
at com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:540)
at com.sun.tools.xjc.generator.bean.BeanGenerator.(BeanGenerator.java:243)
at com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:161)
at com.sun.tools.xjc.model.Model.generateCode(Model.java:286)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:252)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.generateTypes(WSDLToJavaContainer.java:573)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:228)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:128)
at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)

Users with the same issue

9 times, 1 month ago
12 times, 3 months ago
Once, 4 months ago
Once, 4 months ago
63 times, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.