Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonFactory

  1. #11

    Default json NoClassDefFoundError

    I solve this by doing the following steps:
    - check to see if the word NoClassDefFoundError is found in the directory where you think that you downloaded all the jars for this project (the word is easy to find (if exists) as class names are not compacted in jars (zips) because they are file names, also (they are stored as plain text))
    - i found that I have the jar "commons lang3..." and not "common lang v3..." as human brain interpret the title so I deleted the "lang" jar that had no NoClassDefFoundError inside and downloaded the real lang library (commons-lang-2.4.jar - !!! this can increment in time, take the last one (or the one that goes with the whole package - the last one usually works))

    Good luck !

    Dorin


    Quote Originally Posted by flashbuilder View Post
    Hi,

    I'm new to the Spring BlazeDS Integration project. Currently I am following a tutorial for the Spring BlazeDS Integration 1.0.0.RELEASE, found on www.dzone.com.

    However when try to run the server I get the following exception:

    [CODE]SEVERE: StandardWrapper.Throwable
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name '_flexRemotingAnnotationPostProcessor': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationExcepti on: Could not instantiate bean class [org.springframework.flex.config.json.JsonConfigMap PropertyEditor]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonFactory
    at
    ...............................

  2. #12

    Default json NoClassDefFoundError

    I solve this by doing the following steps:
    - check to see if the word NoClassDefFoundError is found in the directory where you think that you downloaded all the jars for this project (the word is easy to find (if exists) as class names are not compacted in jars (zips) because they are file names, also (they are stored as plain text))
    - i found that I have the jar "commons lang3..." and not "common lang v3..." as human brain interpret the title
    so I deleted the "lang" jar that had no NoClassDefFoundError inside and downloaded the real lang library (commons-lang-2.4.jar - !!! this can increment in time, take the last one (or the one that goes with the whole package - the last one usually works))

    Good luck !

    Dorin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •