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 "Paul Fremantle (JIRA)" <ji...@apache.org> on 2008/02/28 13:33:51 UTC
[jira] Commented: (AXIS2-3556) Cannot use JAXBRI data binding with
the version service WSDL
[ https://issues.apache.org/jira/browse/AXIS2-3556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573248#action_12573248 ]
Paul Fremantle commented on AXIS2-3556:
---------------------------------------
Here is the full error trace
Using AXIS2_HOME: c:\axis2-SNAPSHOT
Using JAVA_HOME: c:\jdk
Retrieving document at 'http://localhost:8081/axis2/services/Version?wsdl'.
[ERROR] A class/interface with the same name "sample.axisversion.Exception" is already in use. Use a
class customization to resolve this conflict.
[ERROR] (Relevant to above error) another "Exception" is generated from here.
[ERROR] Two declarations cause a collision in the ObjectFactory class.
[ERROR] (Related to above error) This is the other declaration.
[ERROR] Two declarations cause a collision in the ObjectFactory class.
[ERROR] (Related to above error) This is the other declaration.
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeE
xception: java.lang.reflect.InvocationTargetException
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:278
)
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:231
)
... 2 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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 jax
bri
at org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:3
03)
... 8 more
Caused by: java.lang.RuntimeException: Unable to generate code using jaxbri
at org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:1
95)
... 8 more
> Cannot use JAXBRI data binding with the version service WSDL
> ------------------------------------------------------------
>
> Key: AXIS2-3556
> URL: https://issues.apache.org/jira/browse/AXIS2-3556
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.3, nightly
> Reporter: Paul Fremantle
> Fix For: 1.4
>
>
> If you do
> bin\wsdl2java -uri http://localhost:8081/axis2/services/Version?wsdl -d jaxbri
> you get
> [ERROR] A class/interface with the same name "sample.axisversion.Exception" is already in use. Use a
> class customization to resolve this conflict.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org