karishma-tirthani / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

org.odata4j.producer.resources.BatchBodyPart is not JAX-B compliant #132

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I started a standalone application with Jersey, i.e.

new JerseyServer(appBaseUri, NuGetApplication.class, 
RootApplication.class).start();

In the console I saw there is an application.wadl request supported. I opened 
it and found a error in the log:

29.01.2012 23:51:34 
com.sun.jersey.server.wadl.generators.WadlGeneratorJAXBGrammarGenerator 
buildModelAndSchemas
SEVERE: Failed to generate the schema for the JAX-B elements
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptions
org.odata4j.producer.resources.BatchBodyPart does not have a no-arg default 
constructor.
    this problem is related to the following location:
        at org.odata4j.producer.resources.BatchBodyPart

There seems to be a lack of default no-arg constructor for the mentioned class.

Original issue reported on code.google.com by Eugene.P...@gmail.com on 30 Jan 2012 at 7:29