facebook

xdoclet errors in jaxb generated code

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #252975 Reply

    guypaladino
    Member

    Using Eclipse 3.1.2, MyEclipse 4.1, Java 1.5, JBoss 4.0.3SP1
    ———————
    Generated code from Jaxb creates the following code statement

    @XmlType(name = “ContactType”, propOrder = {

    })

    Xdoclet crashes with

    [webdoclet] Error parsing File C:\development\…\xmlgen\ContactType.java:Parse error at line 48, column 1. Encountered: }

    Line 48, column 1 is the }) statement above.

    Anyone have an idea or workaround?

    #253007

    guypaladino
    Member

    The problem occurred when upgrading jaxb from 1.x to 2.0.

    To workaround the issue I just moved the jaxb code to a separate jar which doesn’t require xdoclet.

    #253016

    Riyad Kalla
    Member

    I don’t think XDoclet 1.2 supports annotations, which it looks like you are using, that is likely why it’s dying.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: xdoclet errors in jaxb generated code

You must be logged in to post in the forum log in