Thanks for the information. Are you suggesting overriding the Jackson 
version in DropWizard with a custom one in my pom.xml? Or should I revert 
my DropWizard version to an older one until this is fixed?

On Wednesday, October 5, 2016 at 12:39:26 PM UTC-7, Tatu Saloranta wrote:
>
> This was just recently reported, and fixed:
>
> https://github.com/FasterXML/jackson-module-jaxb-annotations/issues/63
>
> and it was related to JAXB annotations module.
> Unfortunately there's no release with the fix yet; it will be in 2.7.9 
> (will take a while) and 2.8.4 (should be out sooner).
> Locally it is possible to just sub-class JaxbAnnotationIntrospector.
> I could also release micro-patch, 2.7.8.1 just for JAXB module if that 
> would help.
>
> -+ Tatu +-
>
>
> On Wed, Oct 5, 2016 at 10:56 AM, Vasuki Seshadri <[email protected] 
> <javascript:>> wrote:
>
>> Everything was working fine with my simple DropWizard 0.9.3 app, but when 
>> I upgrade to 1.0.2, I get this cryptic error:
>>
>> config-file.yml has an error:
>>   * Failed to parse configuration; Must call method with a container type 
>> (got [reference type, class java.util.Optional<java.lang.String<[simple 
>> type, class java.lang.String]>])
>>  at [Source: N/A; line: -1, column: -1]
>>
>> How do I go about debugging this? I have narrowed it down to the usage of 
>> a DataSourceFactory (for JDBI) in my Configuration class. If I remove this 
>> object, I get past this error, but of course, I need it to work.
>>
>> Thanks,
>> Vasuki.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "dropwizard-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to