[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sandesha-dev
Subject:    [jira] [Updated] (AXIS2-6022) XMLBeans binding extension not in classpath error when generating code
From:       "Robert Lazarski (Jira)" <jira () apache ! org>
Date:       2022-01-18 2:17:00
Message-ID: JIRA.13421765.1641834427000.167066.1642472220028 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/AXIS2-6022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Robert Lazarski updated AXIS2-6022:
-----------------------------------
    Fix Version/s: 1.8.1

> XMLBeans binding extension not in classpath error when generating code using Axis2 \
>                 1.8.0
> ----------------------------------------------------------------------------------------
>  
> Key: AXIS2-6022
> URL: https://issues.apache.org/jira/browse/AXIS2-6022
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.8.0
> Environment: Windows 10
> Ant 1.10.6
> Reporter: Fergal Gavin
> Assignee: Robert Lazarski
> Priority: Major
> Fix For: 1.8.1
> 
> 
> Hi folks,
> I am working my way through upgrading Axis 2 from 1.6.2 to 1.8.0.
> There seems to be a few differences in the JAR dependencies between the two \
> versions but after solving a couple of these, I have hit the error below. In the \
>                 Axis 1.8.0 release notes, it states the following:
> * [https://axis.apache.org/axis2/java/core/release-notes/1.8.0.html]
> * To improve dependency management, the data binding JARs have been split to \
>                 separate the code required at build time from the code required at \
>                 runtime:
> ** {{axis2-xmlbeans}} has been split into {{axis2-xmlbeans}} and \
> {{{}axis2-xmlbeans-codegen{}}}. After some research, it seems to indicate that I \
> need to add the "axis2-xmlbeans.codegen" JAR file to the classpath for code \
> generation. However, this JAR file does not seem to be part of the Axis 1.8.0 \
> deliverable (the axis2-xmlbeans JAR file is but the "codegen" JAR file is not. The \
> questions are: # Is this a defect or deliberate (omit the \
> {{axis2-xmlbeans-codegen}} JAR file from the final Axis 1.8.0 deliverable). I see \
> the source for the JAR file is still present alongside the other Axis 2 source \
> ([https://github.com/apache/axis-axis2-java-core/tree/master/modules/xmlbeans-codegen)]
>  # Is there any documentation where the JAR dependency differences between the \
> various versions of Axis are listed (JARs removed between versions and why, JARs \
> added and why)? Thanks,
> Fergal
> ===================================
> [JavaFromWSDL] Exception in thread "main" \
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: \
> XMLBeans binding extension not in classpath [JavaFromWSDL]   at \
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:163)
>  [JavaFromWSDL]   at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:54)
> [JavaFromWSDL] Caused by: java.lang.RuntimeException: XMLBeans binding extension \
> not in classpath [JavaFromWSDL]   at \
> org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:90)
>  [JavaFromWSDL]   at \
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:116)
>  [JavaFromWSDL]   ... 1 more



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic