Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7517047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:19:22+00:00 2026-05-30T01:19:22+00:00

When using Mark Murphy’s MergeAdapter everything compiles fine, but when the ListView binding occurs

  • 0

When using Mark Murphy’s MergeAdapter everything compiles fine, but when the ListView binding occurs I get a crash with the following error when calling the addAdapter() method:

java.lang.NoClassDefFoundError: com.commonsware.cwac.sacklist.SackOfViewsAdapter

The SackOfViewsAdapter jar file does exist within libs dir of the cwac-merge project.

I have checked out the demo project that comes with the project and I can’t see anything that it has that I don’t, although I get NoClassDefFoundError exceptions when I try to run it.

I have a feeling this is an Eclipse configuration issue, but I have tried everything that I can think of.

Any ideas?

** Update: the SackOfViewsAdapter also shows up as a referenced library in the cwac-merge project.

** Update 2: My .classpath:

<classpath>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="src" path="gen"/>
    <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
    <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
    <classpathentry kind="lib" path="/Users/colsen/Projects/android/cwac-merge/libs/CWAC-SackOfViewsAdapter.jar"/>
    <classpathentry kind="output" path="bin/classes"/>
</classpath>

** Update 3 – copied SackOfViewsAdapter to local libs dir.

<classpath>
    <classpathentry kind="lib" path="libs/CWAC-SackOfViewsAdapter.jar"/>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="src" path="gen"/>
    <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
    <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
    <classpathentry kind="output" path="bin/classes"/>
</classpath>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T01:19:23+00:00Added an answer on May 30, 2026 at 1:19 am

    The SackOfViewsAdapter jar file does exist within libs dir of the cwac-merge project.

    It looks like you need to also add SackOfViewsAdapter.jar to your Eclipse build path of the project using MergeAdapter. Even though the library project’s reference to this works at compile time, it will not work at runtime.

    I just updated the demo/ Eclipse project files to reflect this.

    My apologies for the difficulty.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the following class written by Mark Brittingham for two way AES
So I'm following these instructions: http://mark-kirby.co.uk/2008/using-git-and-github-on-os-x , and so far I've cloned the project
I'm arranging my methods into groups using #pragma mark in implementation. But sometimes, the
I'm using following script to mark current page with a.active on the URL. $(function
I'm using this to get a notification list: https://graph.facebook.com/me/notifications/?include_read=0 Now I'd like to mark
I am using Mark Murphy's ThumbnailAdapter in a project to cache and display images
Trying to mark radio inputs as selected with XSLT 1.0 using the below xslt
I'd like to mark a method as deprecated, so the people using it can
I'm trying to write Unicode characters (♠) using System.out , and a question mark
How can I create or mark a file as hidden using .NET?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.