You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not able to parse the files which have no common types included. The xjc parsing gives me the following error
[ant:xjc] [ERROR] 'Address' is already defined [ant:xjc] line 133 of file:/Users/a-8845/Documents/GIT_CODE_BASE/air-farelogix-pad-service/src/main/resources/schemas/farelogix/CCReverseAuthorizationRS.xsd [ant:xjc] [ant:xjc] [ERROR] (related to above error) the first definition appears here [ant:xjc] line 52 of file:/Users/a-8845/Documents/GIT_CODE_BASE/air-farelogix-pad-service/src/main/resources/schemas/farelogix/CCReverseAuthorizationRQ.xsd
How can I prevent this issue? Can someone help? This is working with maven and it is giving the error in Gradle build
I have few XSD files, which has commonTypes included in some of the files and some are not.
<xsd:include schemaLocation="common/CommonTypes.xsd"/>
There is also a binding file where this commontype is defined.
<bindings schemaLocation="../common/CommonTypes.xsd"> <bindings node="//xsd:complexType[@name='SegmentIDRef']"> <class name="SegmentIDRefTypeFromCommonTypes"/> </bindings> </bindings>
I'm not able to parse the files which have no common types included. The xjc parsing gives me the following error
[ant:xjc] [ERROR] 'Address' is already defined [ant:xjc] line 133 of file:/Users/a-8845/Documents/GIT_CODE_BASE/air-farelogix-pad-service/src/main/resources/schemas/farelogix/CCReverseAuthorizationRS.xsd [ant:xjc] [ant:xjc] [ERROR] (related to above error) the first definition appears here [ant:xjc] line 52 of file:/Users/a-8845/Documents/GIT_CODE_BASE/air-farelogix-pad-service/src/main/resources/schemas/farelogix/CCReverseAuthorizationRQ.xsd
How can I prevent this issue? Can someone help? This is working with maven and it is giving the error in Gradle build
Sample App:
spring-gradle-app-share.zip
The text was updated successfully, but these errors were encountered: