Results 1 to 5 of 5

Thread: No class def found error at runtime, but I can build my project perfectly

  1. #1
    Join Date
    May 2012
    Posts
    9

    Default No class def found error at runtime, but I can build my project perfectly

    I'm developing an Android 3.1 application using Android Spring Framework 1.0.0 RC1.

    I can build my project, but at runtime I get the following error:

    Code:
    05-07 16:01:39.464: E/AndroidRuntime(654): Caused by: java.lang.NoClassDefFoundError: org.springframework.http.HttpHeaders
    I have updated some Android SDKs and ADT on Eclipse. I'm not sure if this is error's cause. But, before this update it works perfectly.

    Do you know why am I getting this error?

  2. #2
    Join Date
    Nov 2010
    Posts
    174

    Default

    Are you using Maven, or dropping the jars in the libs folder?
    Roy Clarkson
    Spring Mobile Projects Lead

  3. #3
    Join Date
    May 2012
    Posts
    9

    Default

    Quote Originally Posted by Roy Clarkson View Post
    Are you using Maven, or dropping the jars in the libs folder?
    No, I'm not using Maven. But I have solved my problem.

    Sorry, I don't know how to delete this question.

  4. #4
    Join Date
    Nov 2010
    Posts
    174

    Default

    Ok, thanks for letting us know.
    Roy Clarkson
    Spring Mobile Projects Lead

  5. #5
    Join Date
    Oct 2012
    Posts
    1

    Default Please share

    Quote Originally Posted by VansFannel View Post
    No, I'm not using Maven. But I have solved my problem.

    Sorry, I don't know how to delete this question.
    Can you please share your solution? I'm experiencing the same thing with a project I've just inherited.

Posting Permissions

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