File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17276

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 - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: JAXB 2.0 Problems
It's not a secret anymore!