It's very difficult for me to say conclusively without knowing the full details or your deployment model, sorry. One thing that I would suggest is checking whether or not you're excluding any dependencies in your POM? It appears to me though that your problem is going from compile time to runtime, so I'd check how your deploying and ensure that you're capturing all dependencies including transitive dependencies upon deployment.