java.lang.NoClassDefFoundError on adding new Java library

In my app i tried adding jackson libraries, i tried all possible ways that are available on internet for this issue like, 1. deleting cache 2. Cleaning deployment directory ​​​​​​​3. Updating project ​​​​​​​4. restarting necessary things etc PS : sometimes i was getting INFO Evictions for component 'project-userlib'.
1 answers

Not sure whether you followed below steps to add jackson libs as dependency. In case if you have not followed

  1. Copy libs to userlib directory
  2. Add the libs to java build path