I have started making progress on the porting binding-feed-atom to use
Apache Abdera, but trying to make a end-to-end invocation to retrieve
a collection, I have started to get some exceptions. After some debug,
this is looking to me related to databinding transformations requiring
default no-arg constructors. Could someone with more experience on
the databinding framework give me some hints here, is this indeed the
databinding transformations happening during the invocation, and any
possible workaround.
SEVERE: Servlet.service() for servlet /customer/* threw exception
java.lang.IllegalArgumentException:
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 25 counts of
IllegalAnnotationExceptions
org.apache.abdera.model.Collection is an interface, and JAXB can't
handle interfaces.
this problem is related to the following location:
at org.apache.abdera.model.Collection
at public org.apache.abdera.model.Collection
org.apache.abdera.parser.stax.FOMSource.getCollection()
at org.apache.abdera.parser.stax.FOMSource
at org.apache.abdera.parser.stax.FOMFeed
org.apache.abdera.model.Collection does not have a no-arg default constructor.
this problem is related to the following location:
at org.apache.abdera.model.Collection
at public org.apache.abdera.model.Collection
org.apache.abdera.parser.stax.FOMSource.getCollection()
at org.apache.abdera.parser.stax.FOMSource
at org.apache.abdera.parser.stax.FOMFeed
On Wed, Feb 20, 2008 at 3:37 PM, Jean-Sebastien Delfino
<[EMAIL PROTECTED]> wrote:
> Luciano Resende wrote:
> [snip]
>
> > I'll start by copying the current binding-feed
> > module
> [snip]
>
> I made a few minor changes to binding-feed today as I'm trying to use it
> to provide ATOMPub access to the contribution workspace that I'm working on.
>
> The changes are in SVN r629625, r629626, r629651, r629652 and provide
> support for passing Hrefs and ids in new ATOM entries.
>
>
> --
> Jean-Sebastien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]