Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8253981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:03:45+00:00 2026-06-08T01:03:45+00:00

From what I have read, I believe that XJC arguments are used to customize

  • 0

From what I have read, I believe that XJC arguments are used to customize the o/p Java file . We have used these inside the jaxws-maven-plugin . I had an issue with the ‘MaskingClassLoader’ not being found which resolved on adding the jaxb-xjc jar .

Inside the jaxws-maven-plugin one of the xjc arguments provided is ‘-Xybdisplay’ apart from ‘-Xcollection-setter-injector’ and ‘-Xboolean-getter’ . when I try to do a ‘wsimport’ , I get the error

[INFO] jaxws:wsimport args: [-s, D:\HeartBeat_Admin\test\testmodel\target\jaxws\wsimport\java, -d, D:\HeartBeat_Admin\test\testmodel\target\classes, -extension, -Xnocompile, -B-verbose, -B-extension, -B-Xcollection-setter-injector, -B-Xboolean-getter, -B-Xybdisplay, D:\HeartBeat_Admin\test\testmodel\src\main\wsdl\test.wsdl]
Using java.util.ServiceLoader
[ybdisplay] XJC Plugin class com.sun.tools.xjc.addon.DisplayPlugin instantiated
[ybdisplay] Parse argument -Xybdisplay
parsing WSDL...


[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.265s
[INFO] Finished at: Wed May 23 23:35:11 IST 2012
[INFO] Final Memory: 63M/63M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:1.12:wsimport (profile) on project testmodel: Error executing: wsimport [-s, D:\HeartBeat_Admin\test\testmodel\target\jaxws\wsimport\java, -d, D:\HeartBeat_Admin\test\testmodel\target\classes, -extension, -Xnocompile, -B-verbose, -B-extension, -B-Xcollection-setter-injector, -B-Xboolean-getter, -B-Xybdisplay, D:\HeartBeat_Admin\test\testmodel\src\main\wsdl\test.wsdl] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

-e and -X doesn’t help much . I tried to search for the term ‘ybdisplay’ in the xsd but I am not able to understand what the issue is or how the customization works . Removing the xjc argument ‘ybdisplay’ results in an error stating that I need to enable it for customization .

In the XSD we have the following

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:ybmeta="http://www.yellowbook.com/bp/model/meta"
        xmlns:tns="http://www.yellowbook.com/bp/model/types"
        xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
        xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
        targetNamespace="http://www.yellowbook.com/bp/model/types"
        elementFormDefault="unqualified"
        attributeFormDefault="unqualified" jxb:version="2.0" jxb:extensionBindingPrefixes="ybmeta xjc">

<!-- Use our specific bindings -->
<xsd:annotation>
    <xsd:appinfo>
        <jxb:bindings schemaLocation="test.xsd">
            <jxb:schemaBindings>
                <jxb:package name="com.test.model.api"/>
            </jxb:schemaBindings>
        </jxb:bindings>
    </xsd:appinfo>
</xsd:annotation>

I am not sure if the above is related to the xjc argument ‘ybdisplay’ . Kindly guide me on the working of xjc and how I can debug this issue .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:03:47+00:00Added an answer on June 8, 2026 at 1:03 am

    This had nothing to do about XJC args . If it helps anyone , the issue was caused due to the memory running out . I modified the heap size in MAVEN_OPTs and everything worked perfectly .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm reading lines from a file, and I believe that once I've read all
I have read from some article that say's Apple doesn't approve the application which
I have read everywhere that unsigned Java applets are not allowed to make network
I have read from the Wikipedia that: References cannot be null, whereas pointers can;
I have a NSMutableArray (_theListOfAllQuestions) that I am populating with numbers from a file.
I have read from this article http://codahale.com/how-to-safely-store-a-password/ and it says using a salt isn't
I have read from the question How to gain access to a ServletContext instance
From what I have read Quantity on Hand is the physical number of Items
From what I have read, CQRS designs involve asynchronous commands where commands are put
I'm in the process of learning Databases and SQL. From what I have read

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.