Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Shane McC
3,005 PointsCan't import Apache Commons Jars
Hi
I'm trying to add the apache commons jar extensions to my project I copied my jar files in my project root. I also put these same files in my "Referenced Libraries" folder and when I run my app I'm getting the below error message.
To add the jars this is my process I right-click>Properties>Java Build Path>Libraries>Add Jars
My error message Caused by: java.lang.NoClassDefFoundError: org.apache.commons.io.IOUtils
1 Answer

Jonathan Petersen
45,721 PointsWhat IDE and/or build tools are you using?
Shane McC
3,005 PointsShane McC
3,005 PointsEclipse with ADT
Jonathan Petersen
45,721 PointsJonathan Petersen
45,721 PointsTry refreshing the project and then do a clean. I use Netbeans with Gradle and you have to refresh and clean to detect and include new dependencies.