简体   繁体   中英

Can't import Apache Commons Jars

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

You are maybe missing a jar, try adding this jar to the classpath by doing just what you did before:

right-click>Properties>Java Build Path>Libraries>Add Jars

Download this JAR: http://central.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM