users@jaxb.java.net

Incompatible types

From: <assisr_at_br.ibm.com>
Date: Tue, 7 Oct 2008 19:43:13 -0300

Hi all !

I am using JAXB RI 2.1.8 fcs and jdk1.5.0_07 and getting the following
error :

.\portalv6\jaxb\WsrpProducerItem.java:59: incompatible types found :
javax.xml.bind.annotation.XmlAccessType required:
javax.xml.bind.annotation.AccessType @XmlAccessorType(XmlAccessType.FIELD)
                              ^

.\portalv6\jaxb\ContextData.java:61: cannot find symbol symbol : method
required() location: @interface javax.xml.bind.annotation.XmlElement
@XmlElement(required = true)


Although I dont get error when using jdk1.6.0_07.

So I need to run this program for all jdk versions. Does anyone have any
inputs here ?

TX in advance !

Rodrigo Oliveira Assis
IT Specialist
IBM Application Management Services
+55 21 2225-4839
assisr_at_br.ibm.com
Rio de Janeiro, Brazil