Eclipse的java代码出错:The import org.apache.commons.lang3 cannot be resolved

问题描述:The import org.apache.commons.lang3 cannot be resolved

解决方案:缺少commons-lang3-3.jar包,在build.gradle配置类中加上

// 添加  Apache Commons Lang 依赖
	compile('org.apache.commons:commons-lang3:3.5')

重新导入工程,报错消失

猜你喜欢

转载自blog.csdn.net/momo_mo520/article/details/88884948