users@jaxb.java.net

Problem compiling generated jaxb classes

From: lakshman singh <lakshman_75_at_hotmail.com>
Date: Mon, 09 Jun 2003 16:34:01 +0000

Hi,

I was trying to compile JAXB generated classes through ant build.

When trying to generate the java from po.xsd in the first example I get two compile errors in the result :

"PurchaseOrderImpl.java": Error #: 454 : class {deleted root}.generated.impl.PurchaseOrderImpl should be declared abstract; it does not define method validateThis() in interface javax.xml.bind.Element at line 11, column 8
"CommentImpl.java": Error #: 454 : class {deleted root}.generated.impl.CommentImpl should be declared abstract; it does not define method validateThis() in interface javax.xml.bind.Element at line 11, column 8

Please advise..

Thanks..

Lakshman.

 

 



 



The new MSN 8: smart spam protection and 2 months FREE*