简体   繁体   中英

The import org.apache.commons.lang3 cannot be resolved

I'm trying to import this library in order to use the RandomStringUtils class, but always I'm getting the error in the title of the question.

This is an ANT project, so I downloaded the library from Apache ( http://commons.apache.org/proper/commons-lang/download_lang.cgi ) and put it in the lib folder of the project. However, it's not working.

I got another library in this folder (org.apache.commons.cli) and it's working fine.

edit : ok, this is solved... It's a bug in Eclipse saying the import cannot be resolved.

好的,已经解决了...这是Eclipse中的一个错误,表明无法解决导入。

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