cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: [CXF-2.2.8][JAXWS] Very very minor Issue with @XmlTransient
Date Fri, 04 Jun 2010 14:04:31 GMT
On Friday 04 June 2010 3:25:53 am Gabo Manuel wrote:
> Hi All,
> 
> Not exactly an issue, more of, wouldn't it be better to just let it
> slide with a warning than throw an error?

This is actually coming from JAXB and not really much we can do about it.  :-(

At least it's an easy thing to correct and workaround.

Dan


> 
> Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1
> counts of IllegalAnnotationExceptions
> @javax.xml.bind.annotation.XmlTransient annotation is found on two
> places; one would be suffice.
> 
>         this problem is related to the following location:
>                 at @javax.xml.bind.annotation.XmlTransient()
>                 at public java.lang.String com.some.domain.Foo.getBar()
>                 at com.some.domain.Foo
>         this problem is related to the following location:
>                 at @javax.xml.bind.annotation.XmlTransient()
>                 at public void com.some.domain.Foo.setBar(java.lang.String)
>                 at com.some.domain.Foo
> 
> Easily addressable tho.
> 
> Gabo

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message