the trailboss abuses his CodeRanch power for his other stuff (power corrupts. absolute power corrupts absolutely is kinda neat!)
permaculture light bulbs permaculture electric heat permaculture cast iron permaculture wood burning stove permaculture solar food dehydrators
The moose likes Meaningless Drivel and the fly likes JAXB 2.0 Problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Reply locked New topic

JAXB 2.0 Problems

Santhosh GK

Joined: May 24, 2006
Posts: 2
The errors are on generated code. For example:

@XmlType(name = "Account_Type", propOrder = {

The error on this block of code is "Syntax error on tokens. Please delete the tokens."

@XmlElement(name = "Product")
protected Product_Type product;
@XmlElement(name = "Id", type = Short.class)
protected short id;
@XmlElement(name = "Type", type = Short.class)
protected short type;

On the above generated block, the errors are:
"Duplicate method XMLElement."
"Invalid Character. Delete this token @"
"Return type for method is missing."

Plz help me to resolve this problem
[ May 24, 2006: Message edited by: Santhosh GK ]
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17268

I think that is a bit more meaningful for this forum.

Moving it to the more appropriate XML and Related Technologies forum.

Well, I guess you duplicate posted this question, since you have already posted there. So I am going to close this thread. Please refrain from duplicate posting.


[ May 24, 2006: Message edited by: Mark Spritzler ]

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
permaculture playing cards
subject: JAXB 2.0 Problems