java.lang.ClassNotFoundException: com.fasterxml.jackson.annotation.JsonAutoDetect

ClassNotFoundException is thrown when application or program tries to load in as class through name using:

  • forName method in class Class.
  • findSystemClass method in class ClassLoader
  • loadClass method in class ClassLoader
but no definition for the class with specified name could be found.

java.lang.ClassNotFoundException: com.fasterxml.jackson.annotation.JsonAutoDetect

In the above exception defination of JsonAutoDetect class is not available So to resolve this expception we need to add jackson-annotations-2.1.2 jar.

References:


You may be interested in : File upload and download program in Java

java.lang.ClassNotFoundException: com.fasterxml.jackson.annotation.JsonAutoDetect java.lang.ClassNotFoundException: com.fasterxml.jackson.annotation.JsonAutoDetect Reviewed by JavaInstance on 11:08:00 AM Rating: 5

1 comment:

Powered by Blogger.