Hi Jochen,
thank you for suggestion and examples. Since I'm *newbie* with Dropwizard 
and don't have expreince with setting up Bundles (*NEVER* done it) can you 
please give me some link with simple tutorial/explanation how to configure 
it? 

I'm struggling to set it up cause I don't use Hibernate in my application 
for creating queries, but jDBI3 so Hibernate does not work for me + I'm NOT 
using Dependency Injection in my project so since it's small project it 
instantiates objects manually in *run()* method.
I've found code example on *this* 
https://github.com/DeloitteDigitalUK/dropwizard-hikaricp/tree/master/src/main/java/uk/co/deloittedigital/dropwizard/hikari
 
repo, edited my project and got this message in Console when I run my app 
(it compiles successfully with *mvn clean package *command*):*
 

> java.lang.ClassCastException: 
> com.nikolas.master_thesis.DropwizardMasterThesisConfiguration cannot be 
> cast to com.nikolas.master_thesis.config.HikariConfigurationProvider
>

...and here are *classes* which this *message is reffering *to:
https://github.com/nixos89/DW-Bookshop/blob/09-adding-dropwizard-metrics-jmx/src/main/java/com/nikolas/master_thesis/DropwizardMasterThesisConfiguration.java
https://github.com/nixos89/DW-Bookshop/blob/09-adding-dropwizard-metrics-jmx/src/main/java/com/nikolas/master_thesis/config/HikariConfigurationProvider.java
Thank you in advance.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dropwizard-user/dd3cbb3b-56dc-4504-9a15-e1e375591230o%40googlegroups.com.

Reply via email to