Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoClassDefFoundError org.apache.commons.io.FileUtils #8

Closed
mirontoli opened this issue May 17, 2012 · 2 comments
Closed

java.lang.NoClassDefFoundError org.apache.commons.io.FileUtils #8

mirontoli opened this issue May 17, 2012 · 2 comments

Comments

@mirontoli
Copy link
Collaborator

Hi, I reinstalled my computer and I get this strange error:

FATAL EXCEPTION: AsyncTask #1
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:200)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274)
at java.util.concurrent.FutureTask.setException(FutureTask.java:125)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
at java.lang.Thread.run(Thread.java:1019)
Caused by: java.lang.NoClassDefFoundError: org.apache.commons.io.FileUtils
at dk.christer.malmofestivalen.services.DBFileService.PlaceDefaultDatabase(DBFileService.java:75)
at dk.christer.malmofestivalen.StartActivity$CopyStandardDBTask.doInBackground(StartActivity.java:421)
at dk.christer.malmofestivalen.StartActivity$CopyStandardDBTask.doInBackground(StartActivity.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:185)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)

I have added org.apache.commons.io.jar to build path.

@mirontoli
Copy link
Collaborator Author

@mirontoli
Copy link
Collaborator Author

I solved it by putting all jars to "libs" directory...

christerdk added a commit that referenced this issue Jun 4, 2012
Solved Issue #8

Ok, works on my machine :)

Sorry for the delay, had some 3 weeks with quite a rough scedule...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant