Caused by: java.lang.IllegalArgumentException: Not a managed type: code example
Example: java.lang.illegalargumentexception: not a managed type:
I think replacing @ComponentScan with @ComponentScan("com.nervy.dialer.domain") will work.
Edit :
I have added a sample application to demonstrate how to set up a pooled datasource connection with BoneCP.
The application has the same structure with yours. I hope this will help you to resolve your configuration problems