There is no 'normally thrown', that is the only way, given the class-loader being used. So debug your classpath by printing out what is there (a pom says nothing because it doesn't show how you start up whatever you are doing) and what class loading you have. That is the only way you find your problem