caused by java.lang.illegalargumentexception not a managed type spring jpa 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