May 21, 2014

NoClassDefFoundError: jersey/repackaged/com/google/common/collect/Maps


I am working with spring 4.0.4 and jersey 2.7 and Gradle 1.11 suddelny out of nowhere i build and deployed to my tomcat 7 (latest release) and got the above error.
Worked to figure out what went wrong about an hour.
Than i saw that they released a new 2.8 lately, decided to try it - it worked +

Problem solved for me after upgrading from jersey 2.7 to 2.8
and adding this to my gradle dependencies

Hopefully it will help you too,


No comments:

Post a Comment