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
dk...@apache.org
http://dankulp.com/blog

Reply via email to