You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Michael (JIRA)" <ji...@apache.org> on 2019/06/28 12:34:00 UTC
[jira] [Updated] (AXIS2-5475) Unable to generate code using jaxbri
[ https://issues.apache.org/jira/browse/AXIS2-5475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael updated AXIS2-5475:
---------------------------
Attachment: Test.wsdl
> Unable to generate code using jaxbri
> ------------------------------------
>
> Key: AXIS2-5475
> URL: https://issues.apache.org/jira/browse/AXIS2-5475
> Project: Axis2
> Issue Type: Bug
> Components: databinding, Tools, wsdl
> Affects Versions: 1.6.2
> Environment: any.
> Reporter: VictorQian
> Priority: Major
> Attachments: Test.wsdl, cim.wsdl
>
>
> if using adb, wsdl2java could generate codes, but it fails if using jaxbri:
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.
> reflect.InvocationTargetException
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:293)
> at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
> at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at org.apache.axis2.wsdl.codegen.extension.JAXBRIExtension.engage(JAXBRIExtension.java:112)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:246)
> ... 2 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.axis2.wsdl.codegen.extension.JAXBRIExtension.engage(JAXBRIExtension.java:101)
> ... 3 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unable to generate code using jaxbri
> at org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:355)
> ... 8 more
> Caused by: java.lang.RuntimeException: Unable to generate code using jaxbri
> at org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:247)
> ... 8 more
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org