>There are empty public constructors because I'm using the @MapBinder 
>annotation above the methods with Options to fill in the body of the request. 
>Now, when there is not an empty constructor in place and you don't pass in 
>some options, Guice will try to instantiate a Options instance for you through 
>the default constructor (no parameters). Since there would be no default 
>constructor, Guice will throw an exception. Therefore, the public empty 
>constructor is there.

Could you try to annotate the constructor with all the parameters with the 
`@ConstructorProperties` annotation, and see if that makes it work? The values 
of the annotation should match the name of the fields in the json, and the 
order must be the constructor parameters order.


---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/23#issuecomment-23554483

Reply via email to